Does the ind.io board require pullup resistors on the digital pins? If so, can I access the internal resistors using pinmode(INPUT_PULLUP)?
Today I run in a problem regarding pullups, so I had to examine this matter completely.
The fact is that I had a switch which connects an input to ground, so I needed a pull-up to get the desired input change.
The only method to activate an input pull-up is the following:
#define MANAUT 4 //deviatore manuale/automatico
Indio.digitalMode(MANAUT,INPUT); //set as input
Indio.digitalWrite(MANAUT,HIGH); //switch on pull-up
The keyword INPUT_PULLUP has no effect in the Indio library.
Hope this helps
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!