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 9683447 commit db770c6Copy full SHA for db770c6
src/machine/board_wioterminal.go
@@ -73,6 +73,9 @@ const (
73
WIO_5S_RIGHT = SWITCH_Z
74
WIO_5S_DOWN = SWITCH_B
75
WIO_5S_PRESS = SWITCH_U
76
+
77
+ OUTPUT_CTR_5V = PC14
78
+ OUTPUT_CTR_3V3 = PC15
79
)
80
81
// UART0 aka USBCDC pins
@@ -95,15 +98,15 @@ const (
95
98
96
99
// I2C pins
97
100
const (
- SDA_PIN = D22 // SDA: SERCOM2/PAD[0]
- SCL_PIN = D21 // SCL: SERCOM2/PAD[1]
101
+ SDA_PIN = D21 // SDA: SERCOM4/PAD[0]
102
+ SCL_PIN = D22 // SCL: SERCOM4/PAD[1]
103
104
105
// I2C on the Feather M4.
106
var (
107
I2C0 = I2C{
- Bus: sam.SERCOM2_I2CM,
- SERCOM: 2,
108
+ Bus: sam.SERCOM4_I2CM,
109
+ SERCOM: 4,
110
}
111
112
0 commit comments