1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Split BitBangI2C library into I2C and RTC

This commit is contained in:
Rhys Weatherley
2012-05-17 16:54:18 +10:00
parent 81624f6d5e
commit 5819690b42
11 changed files with 36 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
BitBangI2C KEYWORD1
start KEYWORD2
stop KEYWORD2
startRead KEYWORD2
startWrite KEYWORD2
read KEYWORD2
write KEYWORD2

View File

@@ -21,6 +21,7 @@
*/
#include "DS1307RTC.h"
#include "../I2C/BitBangI2C.h"
#include <WProgram.h>
/**

View File

@@ -24,7 +24,8 @@
#define DS1307RTC_h
#include "RTC.h"
#include "BitBangI2C.h"
class BitBangI2C;
class DS1307RTC : public RTC {
public:

View File

@@ -1,14 +1,6 @@
BitBangI2C KEYWORD1
DS1307RTC KEYWORD1
RTC KEYWORD1
start KEYWORD2
stop KEYWORD2
startRead KEYWORD2
startWrite KEYWORD2
read KEYWORD2
write KEYWORD2
isRealTime KEYWORD2
hasUpdates KEYWORD2
readTime KEYWORD2