Looking for someone to point me in the right direction with scanning inputs
Joms
Posts: 279
I have setup where I have 20 buttons, 5 rows each with 4 buttons in them.· I have logic pins 0,1,2,3 hooked across the columns and 4,5,6,7,8 across the rows with each of these pulled low using a 10K resistor.· What I am looking for is an example of setting outputs 0-3 high/low and reading the input on pins 4-8.· I have seen an example of this code a few weeks back somewhere but can't seem to find it now.· Does anyone have any ideas on where to start with the code?· Thanks in advance...
Comments
www.parallax.com/Resources/NutsVoltsColumns/NutsVoltsVolume1/tabid/444/Default.aspx
For a slick solution that uses just 1 I/O Pin and one capacitor plus a resistor for each row and column, scroll down to the middle of this page
http://forums.parallax.com/showthread.php?p=570329