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.
2 parents 7444ba4 + a2d32e9 commit be74f52Copy full SHA for be74f52
libraries/Wire/Wire.h
@@ -59,6 +59,10 @@ class TwoWire : public Stream
59
void onRequest(void(*)(void));
60
void onService(void);
61
62
+ inline size_t write(unsigned long n) { return write((uint8_t)n); }
63
+ inline size_t write(long n) { return write((uint8_t)n); }
64
+ inline size_t write(unsigned int n) { return write((uint8_t)n); }
65
+ inline size_t write(int n) { return write((uint8_t)n); }
66
using Print::write;
67
68
private:
0 commit comments