' using 20 MHz Resonator Pause 1 = 200 usec, 10 = 2 msec
__CONFIG _CONFIG1H, _HS_OSC_1H
symbol LED = 0 'Rename pin 0 of portb (PIC 16F84 pin 6) to LED
trisb = %00000001 'Setup port b as RB7-RB1 inputs, RB0 as output
main: 'Label for beginning of main loop
High LED 'Set pin 0 of portb high (5 volts) which turns the LED on
pause 10 'Pause 2 milliseconds with LED on
Low LED 'Set pin 0 of portb low (0 volts) which turns the LED off
pause 90 'Pause for 18 milliseconds with LED off
goto main 'Jump to the main label and do it all again and again
Bookmarks