BUILTIN LED WILL BLINK BUT CAN'T GET PIN TO OUTPUT
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- robintwhite
- Posts: 4
- Joined: Wed Sep 29, 2021 10:47 pm
BUILTIN LED WILL BLINK BUT CAN'T GET PIN TO OUTPUT
I am starting the Experimenters guide with Metro on Windows. I have followed the steps and uploaded to the Metro via Arduino IDE. I can change the timing of the blink test for the built-in LED and it uploads fine and behaves without issue however when I try to have an external LED work as described in the tutorial (https://learn.adafruit.com/experimenter ... 01-code%20) the LED does not light up and only the internal LED blinks. I have tried everything for drivers, boards etc but nothing works. I tried different pins but no matter what pin, no matter digital write or analog I can't get the external LED to turn on. Using pin 13 instead of LED_BUILTIN still has the 'L' LED blink. Changing pins and in the code, obviously for example to pin 9 still does not change anything and the 'L' LED no longer blinks, so something is happening. I don't know how to troubleshoot this further and can't find any information online.
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: BUILTIN LED WILL BLINK BUT CAN'T GET PIN TO OUTPUT
The "L" LED is connected to D13 (aka LED_BUILTIN) so the behavior regarding it is expected.
As to why the external LED isn't lighting. This could be various things. Have you:
- verified that the LED is in the right way round?
- tried reinserting the wires/parts in the breadboard or moved them to a different spot on the breadboard (occasionally you'll have connection issues)?
- tried replacing the LED?
- tried replacing the resistor?
Try one thing at a time and retest.
Dave
As to why the external LED isn't lighting. This could be various things. Have you:
- verified that the LED is in the right way round?
- tried reinserting the wires/parts in the breadboard or moved them to a different spot on the breadboard (occasionally you'll have connection issues)?
- tried replacing the LED?
- tried replacing the resistor?
Try one thing at a time and retest.
Dave
- robintwhite
- Posts: 4
- Joined: Wed Sep 29, 2021 10:47 pm
Re: BUILTIN LED WILL BLINK BUT CAN'T GET PIN TO OUTPUT
That worked thank you - looks like it was a dead LED
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: BUILTIN LED WILL BLINK BUT CAN'T GET PIN TO OUTPUT
Awesome! Have fun.
Dave
Dave
Please be positive and constructive with your questions and comments.