' Blinky example ' Compubotics eBASIC Compiler ' ' This example blinks an LED attached to pin 0 ' using the Stamp-style LOW and HIGH ' The OUTS register defines location of pins 0-15 ' On the 16F877, we have defined OUTS as address $06-$07 ' Therefore, pin 0 refers to PORTB:0, pin 15 to PORTC:7 #device "16f877" #clock 16000000 Main: high 0 pause 200 low 0 pause 200 goto main END