Re: gcc-avr 4.9.2 -Os messes with interrupt vectors
"Thomas D. Dean" <[email protected]> Sun, 8 May 2016 06:53:38 -0700
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
On 05/08/16 06:22, [email protected] wrote: Looks like you are toggling the LED too fast to see it. Try adding a delay in the while loop while (1) { PORTB |= (1 << PB5); delay_ms(500); /* or something */ } Look at the avr-libc documentation. http://nongnu.org/avr-libc/user-manual/ Tom Dean