andyfive Posted July 22, 2014 Report Share Posted July 22, 2014 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 More sharing options...
Jack Gassett Posted July 22, 2014 Report Share Posted July 22, 2014 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. Jack. Link to comment Share on other sites More sharing options...
andyfive Posted July 22, 2014 Author Report Share Posted July 22, 2014 Thanks Jack,I'll give this a try when I get a chance, and let everyone know how it goes. -Andy Link to comment Share on other sites More sharing options...
andyfive Posted July 23, 2014 Author Report Share Posted July 23, 2014 Fortunately, while using AVR8 I was able to compile the program with no problem. Thanks for the guidance!-Andy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.