Difference between revisions of "EVM input buttons"
From eLinux.org
SpaceMonkey (Talk | contribs) |
SpaceMonkey (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | If you would like some input buttons for your evm you can solder some push buttons right onto the board. Just connect them between the LEDs [REF CHECK WHICH SIDE OF LED!] and ground. | + | If you would like some input buttons for your evm you can solder some push buttons right onto the board. |
| + | |||
| + | Just connect them between the LEDs [REF CHECK WHICH SIDE OF LED!] and ground. | ||
If you want to retain LED functionality, just send a command to turn off the LED prior to polling for the input status, otherwise you will read the output value rather than the switch! | If you want to retain LED functionality, just send a command to turn off the LED prior to polling for the input status, otherwise you will read the output value rather than the switch! | ||
Revision as of 22:55, 21 May 2007
If you would like some input buttons for your evm you can solder some push buttons right onto the board.
Just connect them between the LEDs [REF CHECK WHICH SIDE OF LED!] and ground.
If you want to retain LED functionality, just send a command to turn off the LED prior to polling for the input status, otherwise you will read the output value rather than the switch!