Closed jvierbuchen closed 3 years ago
Another user a while back made some changes to the library. I just merged them in, please redownload the library.
I found the issue, there was an IF statement I missed in SetKeyPadVoltage. Either remove SetKeyPadVoltage from your sketch or download my fix.
You'll know it works if you call KP2.ShowRange(); and view the results in the serial monitor. If there is more than one AR value of 0, then it's either the pinRange is 0, the keypad voltage is set to 0 or the resistors are not a good combination.
Thank you so much for your quick response. That solved my problem.
Andrew,
I am doing a online class with Peter Dalmaris and he uses this Library for one of his sections. At the time of his class he used the MediumPrec statement but when I try that in my sketch the Arduino says 'MediumPrec' was not declared. I did some research on your latest version of the library and it appears that you no longer require that statement in the constructor. I tried running the sketch without it and the sketch will compile. I get all the text to appear on the LCD screen that is in the setup but nothing appears on the screen when I press the buttons.
Keypad_I2C.zip