Page 1 of 1

Next Bug in Arduino Leonardo

Posted: Wed Sep 01, 2021 6:28 pm
by AndreasR
I found the next bug.

Using a Leonardo an trying the "L" LED test.
L LED is at PIN C7

Compile to HEX Error:
"X:\temp\Leonardo test.c:99:3: note: in expansion of macro 'SET_PORT_PIN'
SET_PORT_PIN(A, 0, 1 - 1);
Error returned from [avr-gcc.exe]"

If i compile and upload the original Example from Arduino IDE everything worx fine
Andreas

Re: Next Bug in Arduino Leonardo

Posted: Thu Sep 02, 2021 8:44 am
by LeighM
HI Andreas,
You have an extra LED component "led_5mm_clip2"
which has a connection property set to PORTA.0
this pin does not exist on the device
and needs changing to an available pin instead.