|
From: | Thomas D. Dean |
Subject: | Re: [avr-gcc-list] gcc-avr 4.9.2 -Os messes with interrupt vectors |
Date: | Sun, 8 May 2016 06:53:38 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 05/08/16 06:22, address@hidden 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
[Prev in Thread] | Current Thread | [Next in Thread] |