File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
ports/raspberrypi/boards/adafruit_floppsy_rp2040 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#include "shared-bindings/board/__init__.h"
8
8
9
+ #include "shared-module/displayio/__init__.h"
10
+
9
11
static const mp_rom_map_elem_t board_module_globals_table [] = {
10
12
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
11
13
@@ -54,6 +56,8 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
54
56
{ MP_OBJ_NEW_QSTR (MP_QSTR_D1 ), MP_ROM_PTR (& pin_GPIO27 ) },
55
57
{ MP_OBJ_NEW_QSTR (MP_QSTR_A1 ), MP_ROM_PTR (& pin_GPIO27 ) },
56
58
59
+ { MP_ROM_QSTR (MP_QSTR_DISPLAY ), MP_ROM_PTR (& displays [0 ].framebuffer_display )},
60
+
57
61
{ MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
58
62
{ MP_ROM_QSTR (MP_QSTR_STEMMA_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
59
63
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& board_spi_obj ) },
You can’t perform that action at this time.
0 commit comments