I updated the packages at the pHduino project for the Arduino 1.0. You can download them from the site project. Follow what I did.
===
For the pHduino without datalog shield.
* Just add the #include <Arduino.h> at the beginning of the main code.
===
For the pHduino with datalog shield
* Removed all WProgram.h and WConstants.h and replaced by Arduino.h.
* DS1307.cpp: Included Arduino.h.
* DS1307.cpp: Typecast: from Wire.write(0x00) to Wire.write((uint8_t)0x00)
* DS1307.h and twi_eeprom.h: Changed all Wire.send to Wire.write and all Wire.receive to Wire.read.
* acme.h: Change from Serial.print(c,BYTE) to Serial.write(c).
* Changed the main program .pde to .ino.
===
I included the DS1307 library in the package with the changes. Just unpack it in the sketchbook/libraries directory.
Carlos A. Neves