'Our first AVR 2313 program 'Flash a LED which is attached on PB.7 'Specify the chip type $regfile = "2313def.dat" 'the board uses a 2313 AVR chip 'Specify the crystal frequency $crystal = 8000000 'the board uses an 8MHz xtal LEDPin Alias Portb.7 'Identify the port pin Config Portb = Output 'Set portB pins to be Outputs Do LEDPin = 0 'turn LED on Wait 1 'wait for a second LEDPin = 1 'turn LED off Wait 1 'wait for a second Loop 'loop forever End 'End of our program