Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi all..
ok, bit of a weird request, I have set a pin to digitalIn, and connected an LED between it and 3v3. I was expecting the LED to light. I was presuming the DigitalIn would sink the 20mA or so needed to light the LED ?
I want to be able to tell when the LED has been removed, which is why I'm doing it like this.
Bizarrely, although I can sense when the LED is there, and when its not. It doesn't light up.
Can anyone enlighten me ?
cheers,
Dave