Page 1 of 1

Arduino UNO LED

Posted: Sun Dec 18, 2016 12:55 pm
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?

Re: Arduino UNO LED

Posted: Mon Dec 19, 2016 9:49 am
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.