We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa5f18 commit 6a6ed3dCopy full SHA for 6a6ed3d
libraries/Wire/Wire.h
@@ -61,6 +61,10 @@ class TwoWire : public Stream
61
void onReceive( void (*)(int) );
62
void onRequest( void (*)(void) );
63
64
+ inline size_t write(unsigned long n) { return write((uint8_t)n); }
65
+ inline size_t write(long n) { return write((uint8_t)n); }
66
+ inline size_t write(unsigned int n) { return write((uint8_t)n); }
67
+ inline size_t write(int n) { return write((uint8_t)n); }
68
using Print::write;
69
};
70
0 commit comments