8000 Merge pull request #5265 from ladyada/main · adafruit/circuitpython@73be98c · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 73be98c

Browse files
authored
Merge pull request #5265 from ladyada/main
fix i2c
2 parents be0b405 + d50dc06 commit 73be98c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ports/nrf/boards/adafruit_led_glasses_nrf52840/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
// Board does not have a 32kHz crystal. It does have a 32MHz crystal, in the module.
2727
#define BOARD_HAS_32KHZ_XTAL (0)
2828

29-
#define DEFAULT_I2C_BUS_SCL (&pin_P0_14)
30-
#define DEFAULT_I2C_BUS_SDA (&pin_P0_16)
29+
#define DEFAULT_I2C_BUS_SCL (&pin_P0_08)
30+
#define DEFAULT_I2C_BUS_SDA (&pin_P0_06)

ports/nrf/boards/adafruit_led_glasses_nrf52840/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
1313
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_P0_31) },
1414

1515
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_P0_08) },
16-
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_P0_05) },
16+
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_P0_06) },
1717

1818
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
1919
};

0 commit comments

Comments
 (0)
0