Skip to content

Commit ab1f133

Browse files
brentrudhalbert
authored andcommitted
issue adafruit#536 CPX change SPI pin designations to externally available pins (adafruit#540)
* issue adafruit#536 CPX * switched pin assignment
1 parent 4bd1d09 commit ab1f133

File tree

1 file changed

+3
-4
lines changed
  • ports/atmel-samd/boards/circuitplayground_express

1 file changed

+3
-4
lines changed

ports/atmel-samd/boards/circuitplayground_express/pins.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
4545

4646
{ MP_ROM_QSTR(MP_QSTR_SPEAKER_ENABLE), MP_ROM_PTR(&pin_PA30) },
4747

48-
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA21) },
49-
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA20) },
50-
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA16) },
51-
{ MP_ROM_QSTR(MP_QSTR_FLASH_CS), MP_ROM_PTR(&pin_PB22) },
48+
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA05) },
49+
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA07) },
50+
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA06) },
5251
};
5352
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

0 commit comments

Comments
 (0)