8000 Fixes the MOSI and MISO pins. By mistake I added them backward in thi… · domdfcoding/circuitpython@6764af1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6764af1

Browse files
committed
Fixes the MOSI and MISO pins. By mistake I added them backward in this mapping
1 parent 0e8b99d commit 6764af1

File tree

1 file changed

+2
-2
lines changed
  • ports/esp32s2/boards/atmegazero_esp32s2

1 file changed

+2
-2
lines changed

ports/esp32s2/boards/atmegazero_esp32s2/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
6464
{ MP_ROM_QSTR(MP_QSTR_DAC1), MP_ROM_PTR(&pin_GPIO17) },
6565
{ MP_ROM_QSTR(MP_QSTR_DAC2), MP_ROM_PTR(&pin_GPIO18) },
6666

67-
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO35) },
67+
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO37) },
6868
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_GPIO36) },
69-
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_GPIO37) },
69+
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_GPIO35) },
7070

7171
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO40) },
7272

0 commit comments

Comments
 (0)
0