C:\> Rostislav Persion's Projects

.:: Flashing LED ::.
Hello Workd Flashing LED






This project flashes an LED using the AVR ATMEGA48 microcontroller. This is a basic "Hello World" program.



SOFTWARE WRITTEN IN GREAT COW BASIC
   1:  ;Chip Settings
   2:  #chip 16F88,8
   3:  #config CP=OFF, DEBUG=OFF, CPD=OFF, LVP=OFF, BODEN=OFF, MCLR=OFF, PWRTE=OFF, WDT=OFF, OSC=INTRC_CLKOUT, IESO=OFF, FCMEN=OFF
   4:   
   5:  Dir PORTA.0 Out
   6:  Do Forever
   7:      Set PORTA.0 On
   8:      Wait 1 s
   9:      Set PORTA.0 Off
  10:      Wait 1 s
  11:  Loop