nrf5/drivers: Adding ILI9341 class to the display global dict.
This commit is contained in:
parent
56d187b942
commit
28539221ce
@ -29,14 +29,17 @@
|
||||
#if MICROPY_PY_DISPLAY
|
||||
|
||||
#include "epaper_sld00200p_obj.h"
|
||||
#include "lcd_ili9341_obj.h"
|
||||
|
||||
STATIC const mp_map_elem_t mp_module_display_globals_table[] = {
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(MP_QSTR_display) },
|
||||
#if MICROPY_PY_DISPLAY_EPAPER_SLD00200P
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_SLD00200P), (mp_obj_t)&epaper_sld00200p_type },
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_SLD00200P), (mp_obj_t)&epaper_sld00200p_type },
|
||||
#endif
|
||||
#if MICROPY_PY_DISPLAY_LCD_ILI9341
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_ILI9341), (mp_obj_t)&lcd_ili9341_type },
|
||||
#endif
|
||||
#if 0
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_SLD10261P), (mp_obj_t)&lcd_sld10261p_type },
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_SSD1289), (mp_obj_t)&lcd_ssd1289_type },
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_LS027b7DH01), (mp_obj_t)&lcd_ls027b7dh01_type },
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_SSD1305), (mp_obj_t)&oled_ssd1305_type },
|
||||
|
Loading…
Reference in New Issue
Block a user