I2C Keypad Library

Hi, I have just changed over to Arduino-1.0, and am having a few problems I hope someone can help me with, It concerns the I2c Keypad Library.
When I try to upload the given example I get the error “WConstance.h” no file or directory. I am assuming that this may mean that the name has been change, can you tell me to what.
I have already changed Wire receive to read and send to write. Anything else I may be missing. Thanks Ernie

Anything that includes “WConstants.h” or “WProgram.h” should now just include “Arduino.h” - perhaps you have an out-of-date library?

Will it work if I change these, or could you direct me to a new library. Ernie

Try changing the #include - hopefully that will be enough to fix things. The most correct solution is to use conditional include as in

#if defined(ARDUINO) && ARDUINO >= 100
  #include "Arduino.h"
#else
  #include "WProgram.h"
#endif

Both WProgram.h and WConstants.h are superseded by Arduino.h in 1.0 and later. The ARDUINO #define is present from 1.0 onwards and 100 means version 1.00, etc.