sparkfun samd51 thing plus: Fix board.I2C()
This had the SDA and SCL pins transposed, so nothing worked.
This commit is contained in:
parent
a7b36f724f
commit
d43449a6d6
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
#define BOARD_HAS_CRYSTAL 1
|
#define BOARD_HAS_CRYSTAL 1
|
||||||
|
|
||||||
#define DEFAULT_I2C_BUS_SCL (&pin_PA22)
|
#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
|
||||||
#define DEFAULT_I2C_BUS_SDA (&pin_PA23)
|
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
|
||||||
|
|
||||||
#define DEFAULT_SPI_BUS_SCK (&pin_PB13)
|
#define DEFAULT_SPI_BUS_SCK (&pin_PB13)
|
||||||
#define DEFAULT_SPI_BUS_MOSI (&pin_PB12)
|
#define DEFAULT_SPI_BUS_MOSI (&pin_PB12)
|
||||||
|
Loading…
Reference in New Issue
Block a user