Programming ATMEL AVR series microcontrollers - DAIICT Intranet
Programming ATMEL AVR series microcontrollers - DAIICT Intranet
Programming ATMEL AVR series microcontrollers - DAIICT Intranet
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
led = 0;<br />
for (;;) {<br />
do /* this while-loop checks the<br />
overflow bit in the TIFR register */<br />
state = TIFR & 0x01;<br />
while (state != 0x01);<br />
PORTC=~led;<br />
led++;<br />
if (led==255) led=0;<br />
TIFR=(1