Hello again,
Simple question regarding the connection of a switch to a microcontroller input.
Below is a simple diagram for connecting a switch to a microcontroller input.
I've looked around and found many simple circuits like this, but HERE I've also found an interesting circuit that includes a 1 megaΩ resistor between the switch and the microcontroller input.
I would like to ask you if you feel that the 'protective' effect of the 1 mega Ω resistor is important enough for you to include it routinely in your own projects that connect a 5V input to a microcontroller?
Simple question regarding the connection of a switch to a microcontroller input.
Below is a simple diagram for connecting a switch to a microcontroller input.
I've looked around and found many simple circuits like this, but HERE I've also found an interesting circuit that includes a 1 megaΩ resistor between the switch and the microcontroller input.
I would like to ask you if you feel that the 'protective' effect of the 1 mega Ω resistor is important enough for you to include it routinely in your own projects that connect a 5V input to a microcontroller?
