Hey guys,
In one of my project I have 10 switches under the control of the PI, I know that logically we have to use resistors for each ones. I decided to use pull up ones and also I'm considering using the internal resistance of the chip. I was wondering how viable was this solution. And also instead of using the resistance in the python code of my program, using what I read on this page ( https://www.raspberrypi.org/documentati ... uration.md ) which would if I understood well, use the pull up resistance of the chip as soon as the PI boot up no?
Then the circuit should look like this
pin 3 (with internal resistor)--------Switch ---------------------- Ground
pin 5 (with internal resistor)--------Switch -----------|
pin 7 (with internal resistor)--------Switch -----------|
pin 9 (with internal resistor)--------Switch -----------|
pin 10 (with internal resistor)--------Switch ---------|
....
Please correct me if I'm wrong and thank you for reading so far.