Go Down

Topic: newbie: pull up resistor (Read 460 times) previous topic - next topic

fritz

Hi,
is it possible to set a pull up resistor after defining a pin as INPUT?
Nothing about that in the tiny reference. If not, what can I do? Solder?

have fun

fritz

admin

the current arduino language doesn't have a specific instruction to do that but I think
that using  digitalWrite(thePin,HIGH) while thePin has been defined as an INPUT should
turn on the internal 100k pull-up resistors.

give it a try...


massimo

fritz

so that's how it works at my c-control which is based on the amtel ATmega32

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

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!

Arduino
via Egeo 16
Torino, 10131
Italy