having trouble compiling sketch with keypad library


andyfive

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

 

-Andy

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.