HOME

PRODUCTS

PROJECTS

TUTORIALS

C FUNCTIONS

PROGRAMS

VIDEOS

FORUM

COMPANY

SPANISH

                   

Test programs in assembly language for Bolt v.Lite system:

 

>>For assembly language programming tutorial click here <<

Microswitches, Leds and Relay

Description and link

BOLT-ASSEMBLER-TEMPLATE-2.asm Use this file as template, includes a delay subroutine.
KEYBOLT.inc Auxiliary file to be used with template. Store this file in same folder as your application program. Includes macros for inicialization and ports definitions.
KEYBOLT2.inc Version 2 of auxiliary file. Includes macro to read microswitches.
BOLT-BINARY-COUNTER-LEDS.asm Binary counter in leds of port B
BOLT-FLASH-LED.asm Flashes led B0 in periods of 1 second.
BOLT-READS-MICROSWITCHES-V-4.asm Reads microswitches and writes value in leds.
LOOK-UP-TABLES-MICROSWITCHES.asm Compares microswitches with values in table
LOOK-UP-TABLES-MICROSWITCHES.HEX  
MULTIPLICATION-MICROSWITCHES.asm Multiplies 2 values read from microswitches
MULTIPLICATION-MICROSWITCHES.HEX  
SHIFTING-LEDS-MICROSWITCHES.asm Shifting of leds according to values in microswitches
SHIFTING-LEDS-MICROSWITCHES.HEX  
BOLT-PING-PONG.asm If SW1=ON (0), shifts leds to right, if SW1=OFF (1), shifts leds to left
BOLT-PING-PONG.HEX  

Interrupt Timer 0

Description and link

BOLT-TIMER-0-INTERRUPT-2.ASM Program with 2 tasks: creates a 1 second time base with interrupts in Timer 0 and counter in leds RB0...RB3
BOLT-TIMER-0-INTERRUPT-2.HEX  

USB-Port

 
BOLT-18F2550-TEST-PROGRAM-FOR-USB-PORT.zip Leds control program for the USB port, using a Windows VB application.

.zip file with all test programs

Description and link

BOLT-ASSEMBLER-TEST-PROGRAMS-FILE.zip Download all .asm and .hex files!