Arduino UNO LED

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
ptaa
Posts: 1
Joined: Sun Dec 18, 2016 12:31 pm

Arduino UNO LED

Post by ptaa »

In order to control the LED on the UNO, I need to control the D13 bit. However, the Output function apparently only recognizes the ATmega ports, and not the Arduino specific ones. If I use Port B bit 5 all is well.
It would be more untuitive to use the Arduino specific names.
Is this in some way possible?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: Arduino UNO LED

Post by LeighM »

If you use a LED component, then the "connection" property to select the required port and pin,
the chip view is shown where the Arduino digital numbers are shown alongside the ATmega pins.
e.g. PD2 (Digital 2)
Also the chip view can be accessed at any time from the menu View->Chip to help identify the pins.

Post Reply