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