summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrentrubell <brentru@users.noreply.github.com>2018-01-22 22:31:55 -0500
committerDan Halbert <halbert@halwitz.org>2018-01-22 19:31:55 -0800
commitab1f13366708a2d2876c84d92bf7e4514dbdabb0 (patch)
tree4708940ecf73bd4701d971414fc6794632b3efbd
parent4bd1d09d74ba341796829145fd165c357fbeec4f (diff)
issue #536 CPX change SPI pin designations to externally available pins (#540)
* issue #536 CPX * switched pin assignment
-rw-r--r--ports/atmel-samd/boards/circuitplayground_express/pins.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ports/atmel-samd/boards/circuitplayground_express/pins.c b/ports/atmel-samd/boards/circuitplayground_express/pins.c
index b9bc3d7ce..4be74f377 100644
--- a/ports/atmel-samd/boards/circuitplayground_express/pins.c
+++ b/ports/atmel-samd/boards/circuitplayground_express/pins.c
@@ -45,9 +45,8 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_SPEAKER_ENABLE), MP_ROM_PTR(&pin_PA30) },
- { MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA21) },
- { MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA20) },
- { MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA16) },
- { MP_ROM_QSTR(MP_QSTR_FLASH_CS), MP_ROM_PTR(&pin_PB22) },
+ { MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA05) },
+ { MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA07) },
+ { MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA06) },
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);