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
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
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
so that's how it works at my c-control which is based on the amtel ATmega32