aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/Wire.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Wire/Wire.h')
-rw-r--r--libraries/Wire/Wire.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/Wire/Wire.h b/libraries/Wire/Wire.h
index a93d0f5..732bdc3 100644
--- a/libraries/Wire/Wire.h
+++ b/libraries/Wire/Wire.h
@@ -49,6 +49,7 @@ class TwoWire : public Stream
void begin();
void begin(uint8_t);
void begin(int);
+ void setClock(uint32_t);
void beginTransmission(uint8_t);
void beginTransmission(int);
uint8_t endTransmission(void);
@@ -62,10 +63,10 @@ class TwoWire : public Stream
virtual int available(void);
virtual int read(void);
virtual int peek(void);
- virtual void flush(void);
+ virtual void flush(void);
void onReceive( void (*)(int) );
void onRequest( void (*)(void) );
-
+
inline size_t write(unsigned long n) { return write((uint8_t)n); }
inline size_t write(long n) { return write((uint8_t)n); }
inline size_t write(unsigned int n) { return write((uint8_t)n); }