It is useful to use a pull-down resistor (going to ground) when connecting a switch to a pin configured as INPUT. Ten kilohm is a good resistor value for this. INPUT pins are good at reading logical inputs but cannot be used to input, or sink, anyanbsp;...
|Author||:||James A. Langbridge|
|Publisher||:||John Wiley & Sons - 2015-01-20|