Hey guys! Long time no post.
I am rebuilding my robot skeleton and am rewriting the code from scratch and I have run into a problem that has left me scratching my head. I am trying to install a 16-button keypad and despite using the keypad code from my previous robot build, it does not seem to work this time around and I am not sure why.
I am using the same keypad and wiring harness from the previous build.
I have confirmed that the keypad does work.
I have confirmed that the wiring to the Axon II is correct.
All variables are properly defined.
Compiling the code produces no errors.
In Project Designer, I have the row pins (L0, L1, L2, and L3) set as digital outputs initially set to high. I have the column pins (L4, L5, L6, and L7) set as digital inputs with the internal pullup resistors enabled.
This leads me to believe that I have a code problem. However, when I compare it to the guideline that Webbot provided in a previous thread, I cannot find any difference. Everything else that I have plugged into the Axon II (continuous servo, RGB LED, and a push button) works just fine. Does anyone have any idea what the problem is?
EDIT: Problems solved. See code and explanation below.