#LED issue pins bellow D13

1 messages · Page 1 of 1 (latest)

gritty crane
#

hello. I must be doing something wrong. I don't manage to turn on my LEDs when connected to the D2 to D13 pins, those with PWM. I've looked att he "Getting Started 2023 - MobiFlight Tutorial" where everything looks as I set up my stuff, but, the LED stays off...
When connected to D13 and above, eveything works as a charm. I'm kindda lazy reconnecting my already connceted LEDs since I've just finished all the wiring and (bad panda), did not test all the LEDs... But I'm sure there is a solution.

Help is highly appreciated!! thanks a lot

desert surge
#

We can't help unless you post a screenshot of one of the led module configurations and the associated output config that isn't working.

#

Also what board you are using

gritty crane
#

hello Neil, Its a Mega 2560

#

this one is just fine

#

inoperative setup with the D2 connection

#

functioning setup with D13

desert surge
#

What does the output tab of the main window show for those rows when the sim is running and you expect the LEDs to be on

gritty crane
#

this info

desert surge
#

The whole main window with the output tab showing

gritty crane
#

sorry, here

desert surge
#

Does it work when you press test? Right now your screenshot shows you aren't running so it is outputting a 0

gritty crane
#

you mean the test mode or testing the current setting? none do turn on the LED

desert surge
#

If neither turn on the led then this is almost certainly a wiring issue

#

Make sure you didn't get the connections backwards for all those leds

split river
gritty crane
#

this was my initial thought too, but when connected to pins different from D2 to D12, and only jumping the "+" wire, the LED goes on when testing

#

hit me. just tests D12, on... sorry guys... and thank you all

#

😵‍💫

#

don't know what is going on with the first pins

split river
#

If you are sure that the wiring goes from the arduino pin to the positive leg of the led, I think it is time to take out your multimeter and actually verify that you get a voltage out of those pins. It could be your Arduino is faulty.