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 b89cb1f commit 5295a5fCopy full SHA for 5295a5f
src/Modulino.h
@@ -51,7 +51,7 @@ class Module : public Printable {
51
return Modulino._wire;
52
}
53
bool read(uint8_t* buf, int howmany) {
54
- if (address == 0xFF) {
+ if (address >= 0x7F) {
55
return false;
56
57
Modulino._wire->requestFrom(address, howmany + 1);
@@ -72,7 +72,7 @@ class Module : public Printable {
72
return true;
73
74
bool write(uint8_t* buf, int howmany) {
75
76
77
78
Modulino._wire->beginTransmission(address);
0 commit comments