Here we are going to build a very basic blink led circuit with the help of GC Basic IDE.

CIRCUIT DIAGRAM






PROGRAM

;Chip Settings
#chip 16f877a,16

Dir PORTA.0 Out
Do
  Set porta.0 On
  Wait 1 s
  Set porta.0 Off
  Wait 1 s
Loop