having trouble compiling sketch with keypad library

Recommended Posts

Hello everyone,

I am having a problem that I hope you can help me with. I am able to compile the sketch in the actual arduino IDE, but when I am trying to use the arduino keypad library with ZPUino and ZAP IDE I get this error:

In file included from C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:32:C:/Users/Andy/Desktop/PapilioSoftware/papilio-zap-ide/libraries/Keypad/Keypad.h:48:2: warning: #warning "Using  pinMode() INPUT_PULLUP AVR emulation"C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp: In member function `void Keypad::scanKeys()':C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:94: error: `bitWrite' undeclared (first use this function)C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp: In member function `bool Keypad::updateList()':C:\Users\Andy\Desktop\PapilioSoftware\papilio-zap-ide\libraries\Keypad\Keypad.cpp:119: error: `bitRead' undeclared (first use this function)

I see that the problem lies with the bitRead and bitWrite functions. Have these two functions been included in the IDE? Thanks in advance for the help.  :)



Share this post

Link to post
Share on other sites

You are using the ZPUino right, not the AVR8 Soft Procesor? It looks like the bitRead and bitWrite functions are not implemented. You might try with the AVR8 to see if they are.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now