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 34597fa + 29ef216 commit 4021c32Copy full SHA for 4021c32
STM32F1/libraries/Wire/Wire.cpp
@@ -190,5 +190,5 @@ TwoWire::~TwoWire() {
190
}
191
192
// Declare the instance that the users of the library can use
193
-//TwoWire Wire(SCL, SDA, SOFT_STANDARD);
194
-TwoWire Wire(PB6, PB7, SOFT_STANDARD);
+TwoWire Wire(SCL, SDA, SOFT_STANDARD);
+//TwoWire Wire(PB6, PB7, SOFT_STANDARD);
STM32F1/libraries/Wire/Wire.h
@@ -47,8 +47,8 @@
47
* On the Maple, let the default pins be in the same location as the Arduino
48
* pins
49
*/
50
-#define SDA 19
51
-#define SCL 20
+#define SDA PB7
+#define SCL PB6
52
53
#define SOFT_STANDARD 27
54
#define SOFT_FAST 0
0 commit comments