Updated libraries to be Arduino 1.0 compatible

This commit is contained in:
2012-08-16 23:23:38 -07:00
parent f8efa16725
commit 97d1534066
3 changed files with 15 additions and 3 deletions

View File

@@ -9,7 +9,11 @@
#define _Wire_H_
#endif
#include <WProgram.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#define DS1307_I2C_ADDRESS 0x68