File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
ports/esp32s2/boards/lilygo_ttgo_t8_s2_st7789 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
13
13
{ MP_ROM_QSTR (MP_QSTR_IO6 ), MP_ROM_PTR (& pin_GPIO6 ) },
14
14
{ MP_ROM_QSTR (MP_QSTR_IO7 ), MP_ROM_PTR (& pin_GPIO7 ) },
15
15
{ MP_ROM_QSTR (MP_QSTR_IO8 ), MP_ROM_PTR (& pin_GPIO8 ) },
16
+ { MP_ROM_QSTR (MP_QSTR_IO9 ), MP_ROM_PTR (& pin_GPIO9 ) },
16
17
17
18
{ MP_ROM_QSTR (MP_QSTR_IO11 ), MP_ROM_PTR (& pin_GPIO11 ) },
18
19
{ MP_ROM_QSTR (MP_QSTR_IO12 ), MP_ROM_PTR (& pin_GPIO12 ) },
@@ -54,5 +55,8 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
54
55
55
56
// Peripheral Power control
56
57
{ MP_ROM_QSTR (MP_QSTR_PE_POWER ), MP_ROM_PTR (& pin_GPIO14 ) },
58
+
59
+ // Battery Sense
60
+ { MP_ROM_QSTR (MP_QSTR_BATTERY ), MP_ROM_PTR (& pin_GPIO9 ) },
57
61
};
58
62
MP_DEFINE_CONST_DICT (board_module_globals , board_global_dict_table );
You can’t perform that action at this time.
0 commit comments