We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0801e6 commit 3fb87a5Copy full SHA for 3fb87a5
libraries/Wire/Wire.h
@@ -40,8 +40,9 @@ class TwoWire : public Stream
40
static uint8_t transmitting;
41
static void (*user_onRequest)(void);
42
static void (*user_onReceive)(int);
43
+ static void (*user_onGcallReceive)(int);
44
static void onRequestService(void);
- static void onReceiveService(uint8_t*, int);
45
+ static void onReceiveService(uint8_t*, int,uint8_t);
46
public:
47
TwoWire();
48
void begin();
@@ -59,6 +60,7 @@ class TwoWire : public Stream
59
60
virtual int peek(void);
61
virtual void flush(void);
62
void onReceive( void (*)(int) );
63
+ void onReceive( void (*)(int), void (*)(int) );
64
void onRequest( void (*)(void) );
65
66
using Print::write;
0 commit comments