Skip to content

Commit eef12c3

Browse files
caternusonladyada
authored andcommitted
fix Feather M4 I2S pins (arduino#80)
1 parent d86ce47 commit eef12c3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: variants/feather_m4/variant.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,11 @@ static const uint8_t SCL = PIN_WIRE_SCL;
175175
#define I2S_DEVICE 0
176176
#define I2S_CLOCK_GENERATOR 3
177177

178-
#define PIN_I2S_SDO (5u)
179-
#define PIN_I2S_SDI PIN_SPI_MOSI
180-
#define PIN_I2S_SCK PIN_A2
181-
#define PIN_I2S_FS PIN_SPI_MISO
178+
#define PIN_I2S_SDO (11u)
179+
#define PIN_I2S_SDI (12u)
180+
#define PIN_I2S_SCK PIN_SERIAL1_TX
181+
#define PIN_I2S_FS (10u)
182+
#define PIN_I2S_MCK PIN_SERIAL1_RX
182183

183184
//QSPI Pins
184185
#define PIN_QSPI_SCK (34u)

0 commit comments

Comments
 (0)