Hello fellow programers,
I want to put an LED on pin 5 but not sink the current from 3v to it
instead write 3v to pin 5.
please help I’m new to programming
Hello fellow programers,
I want to put an LED on pin 5 but not sink the current from 3v to it
instead write 3v to pin 5.
please help I’m new to programming
Use digital out not digital out pullup. Connect a resistor in series with the led and put those two devices between gnd and pin 5. Making pin 5 high will put 3.3 volts to the led. Is that what you mean?
Yes it is exactly what I was trying to say. I was falling asleep as I wrote that sorry if it was confusing.