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.  :)



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.