Skip to content

Commit 1192eeb

Browse files
committed
adding spi and i2c to board for um feather s2
1 parent b9ccc62 commit 1192eeb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@
3737

3838
// #define MICROPY_HW_APA102_MOSI (&pin_GPIO40)
3939
// #define MICROPY_HW_APA102_SCK (&pin_GPIO45)
40+
41+
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO9)
42+
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO8)
43+
44+
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO36)
45+
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO35)
46+
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)

0 commit comments

Comments
 (0)