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:
8
libraries/I2C/keywords.txt
Normal file
8
libraries/I2C/keywords.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
BitBangI2C KEYWORD1
|
||||
|
||||
start KEYWORD2
|
||||
stop KEYWORD2
|
||||
startRead KEYWORD2
|
||||
startWrite KEYWORD2
|
||||
read KEYWORD2
|
||||
write KEYWORD2
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "DS1307RTC.h"
|
||||
#include "../I2C/BitBangI2C.h"
|
||||
#include <WProgram.h>
|
||||
|
||||
/**
|
||||
@@ -24,7 +24,8 @@
|
||||
#define DS1307RTC_h
|
||||
|
||||
#include "RTC.h"
|
||||
#include "BitBangI2C.h"
|
||||
|
||||
class BitBangI2C;
|
||||
|
||||
class DS1307RTC : public RTC {
|
||||
public:
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user