diff options
| author | foamyguy <foamyguy@gmail.com> | 2020-11-10 14:12:44 -0600 |
|---|---|---|
| committer | foamyguy <foamyguy@gmail.com> | 2020-11-10 14:12:44 -0600 |
| commit | 1192eebcdf3fbfa383a868d3a349535858e3e0e3 (patch) | |
| tree | 9e94eadc7f37cd5cfe0c3714796a9da00a2bd396 /ports | |
| parent | b9ccc62b97f8dda49636eba6ad19f544d9ffca62 (diff) | |
adding spi and i2c to board for um feather s2
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h b/ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h index 5a885f29c..b320fdc8d 100644 --- a/ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h +++ b/ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h @@ -37,3 +37,10 @@ // #define MICROPY_HW_APA102_MOSI (&pin_GPIO40) // #define MICROPY_HW_APA102_SCK (&pin_GPIO45) + +#define DEFAULT_I2C_BUS_SCL (&pin_GPIO9) +#define DEFAULT_I2C_BUS_SDA (&pin_GPIO8) + +#define DEFAULT_SPI_BUS_SCK (&pin_GPIO36) +#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO35) +#define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)
\ No newline at end of file |
