Skip to content

Commit 4021c32

Browse files
2 parents 34597fa + 29ef216 commit 4021c32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

STM32F1/libraries/Wire/Wire.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,5 @@ TwoWire::~TwoWire() {
190190
}
191191

192192
// 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);
193+
TwoWire Wire(SCL, SDA, SOFT_STANDARD);
194+
//TwoWire Wire(PB6, PB7, SOFT_STANDARD);

STM32F1/libraries/Wire/Wire.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
* On the Maple, let the default pins be in the same location as the Arduino
4848
* pins
4949
*/
50-
#define SDA 19
51-
#define SCL 20
50+
#define SDA PB7
51+
#define SCL PB6
5252

5353
#define SOFT_STANDARD 27
5454
#define SOFT_FAST 0

0 commit comments

Comments
 (0)