summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-09-03 14:22:18 -0400
committerDan Halbert <halbert@halwitz.org>2020-09-03 14:22:18 -0400
commit960888a3bd78ba4f456bc1e26347b9a9f4d615d9 (patch)
tree45c7a7c38369710dd920204629fe9daf24b71e23
parentf27b89632de427ffa268d3a9dee4e6e9b5da407b (diff)
fix pins for trellis_m4 board.I2C()
-rw-r--r--ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h b/ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h
index 96b38810c..331ee894b 100644
--- a/ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h
+++ b/ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h
@@ -16,8 +16,8 @@
#define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0)
-#define DEFAULT_I2C_BUS_SCL (&pin_PB08)
-#define DEFAULT_I2C_BUS_SDA (&pin_PB09)
+#define DEFAULT_I2C_BUS_SCL (&pin_PB09)
+#define DEFAULT_I2C_BUS_SDA (&pin_PB08)
// USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1