On 05/08/16 06:22, a...@tuta.io 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

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to