someone please help me out, I am new and learning Arduino.
when compiling NunChukDemo, I got following error:
nunchuk.cpp:1:22: error: WProgram.h: No such file or directory
I can not find WProgram.h from Arduino 1.0 installation, it seems that WProgram.h did not exist, can anyone tell why?
other error is: wire.send() function was renamed to wire.write(), but if I change the code to wire.write(), it would complain with following error: nunchuk.cpp: 27: errir: call of overloaded ‘write(int)’ is ambiguous
I am using Arduino 1.0, is the code from the book compatible with the Arduino 1.0 ?
Thanks a lot for the help