Files
SyncHome/trunk/workspace/gcb/blinkled_include.gcb
2023-03-09 12:51:54 +00:00

22 lines
413 B
Plaintext

' ########### start ###########
' pic:PIC16F886
' ########### end ###########
'A program to flash LED on PIN 13/PORTB5
'Chip model
#chip 16F886, 16
#include <chipino.h> ' Define CHIPINO I/O pins
'Main routine
Start:
'Turn one LED on, the other off
SET D13 ON
wait 1 sec
'Now toggle the LEDs
SET D13 OFF
wait 1 sec
'Jump back to the start of the program
goto Start