We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac498d1 commit 9f1ccbcCopy full SHA for 9f1ccbc
ports/espressif/boards/makerfabs_tft7/pins.c
@@ -6,6 +6,7 @@
6
7
#include "py/objtuple.h"
8
#include "shared-bindings/board/__init__.h"
9
+#include "shared-module/displayio/__init__.h"
10
11
static const mp_rom_obj_tuple_t tft_r_pins = {
12
{&mp_type_tuple},
@@ -125,6 +126,8 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
125
126
// { MP_ROM_QSTR(MP_QSTR_SDIO_D0), MP_ROM_PTR(&pin_GPIO13) },
127
// { MP_ROM_QSTR(MP_QSTR_SDIO_CLK), MP_ROM_PTR(&pin_GPIO12) },
128
129
+ { MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
130
+
131
// boot mode button can be used in SW as well
132
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO1) },
133
0 commit comments