Updated libraries to be Arduino 1.0 compatible
This commit is contained in:
parent
f8efa16725
commit
97d1534066
|
@ -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
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
#define _PCATTACH_H_
|
||||
#endif
|
||||
|
||||
#include <WProgram.h>
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
#define uint_8 byte
|
||||
|
||||
class PCATTACH {
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
#define _WIEGAND26_H_
|
||||
#endif
|
||||
|
||||
#include <WProgram.h>
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
class WIEGAND26 {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue
Block a user