(former title: "resolved.... Buggy reads from 4x4 Keypad to Propeller using 4x4 Keypad Reader.spin")
I am trying to wrap up a project today for a Christmas play TOMORROW MORNING!. See this thread
and this thread
for details. In fact, I am typing this as the dress rehearsal is about to begin and my prop (a time machine) is not working correctly because the keypad is giving false inputs. So for the dress rehearsal I am using my laptop with an XBEE on a USB adapter and PST to send my keycodes to the time machine (that works the different jumps).
I am using 4x4 Keypad Reader.spin
from the OBEX and the Parallax 27899 4x4 Matrix Membrane Keypad
. The membrane keypad is connected DIRECTLY to a Propeller Mini, no extension cable.
However, as I push buttons on the keypad, I get a handful of misreads. For example, pressing the #5 key will respond with either the 4 or 5 response (totally random, but usually the first keypress is always incorrect), pressing the #0 key will give a 1 or a 0 response. I have found a few threads talking about adding pullups, pulldowns, or caps to the lines when using extension cables, but I am not using anything bu the keypad.
In the remote case which has the keypad on the front is:
XBEE SIP Adapter
9 volt battery
What else should I look at before I start ripping things apart? I will play with adding caps and resistors on another board to see the differences.
My keypad code is attached.