Next Bug in Arduino Leonardo

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
AndreasR
Posts: 13
http://meble-kuchenne.info.pl
Joined: Tue Feb 09, 2021 5:16 pm
Been thanked: 2 times

Next Bug in Arduino Leonardo

Post 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
Attachments
Leonardo test.fcfx
(8.65 KiB) Downloaded 95 times

LeighM
Valued Contributor
Posts: 395
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 70 times
Been thanked: 210 times

Re: Next Bug in Arduino Leonardo

Post 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.

Post Reply