A pin may also be configured as an INPUT with pinMode(), and subsequently made HIGH with digitalWrite(). This will enable the internal 20K pullup resistors, which will pull up the input pin to a HIGH reading
Hi guys, Just got my UNO and I've been doing all the basic projects with PWM, using my tact switches, etc. Very basic things trying to learn how this all works.While doing some basic programming I forgot to set one of my pins to an output but even regardless I had a dim LED. Is there always SOME voltage available at each of the pins on my board?Just trying to figure out why it acts like this? Once I set it as an OUTPUT it was the normal brightness.Hope this is the right forum, couldn't decide between, micro controllers or programming.thanks!
Welcome.If you have a squiz at this page, you'll see it says:That's what you were experiencing.It's difficult sometimes to decide where to put posts yes: the mods are great and will move a thread if they feel strongly, and sometimes other members will suggest a move.
i didnt set a pinMode() at all.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16