8000 Update pins.c · adafruit/circuitpython@8b97d8f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b97d8f

Browse files
zapwizarddhalbert
authored andcommitted
Update pins.c
Both D0 and D1 were assigned to pin_GPIO7, fixed D0 to pin_GPIO6, which also matches the comment.
1 parent d8b1df3 commit 8b97d8f

File tree

1 file changed

+1
-1
lines changed
  • ports/raspberrypi/boards/sparkfun_micromod_rp2040

1 file changed

+1
-1
lines changed

ports/raspberrypi/boards/sparkfun_micromod_rp2040/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
44
// D (Digital only) pins (D0,D1)
5-
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO7) }, // GPIO6 - D0
5+
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO6) }, // GPIO6 - D0
66
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO7) }, // GPIO7 - D1
77

88
// A (ADC) pins (A0,A1)

0 commit comments

Comments
 (0)
0