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 102ee0e commit ba3c03cCopy full SHA for ba3c03c
libraries/Wire/Wire.cpp
@@ -223,3 +223,6 @@ void TwoWire::onService(void)
223
}
224
225
TwoWire Wire = TwoWire(I2C_DEFAULT_PORT);
226
+#if I2C_INTERFACES_COUNT > 1
227
+TwoWire Wire1 = TwoWire(I2C_PORT_1);
228
+#endif
libraries/Wire/Wire.h
@@ -96,6 +96,9 @@ class TwoWire : public Stream {
96
};
97
98
extern TwoWire Wire;
99
100
+extern TwoWire Wire1;
101
102
103
#endif
104
0 commit comments