![]() |
LambLisp 01 Red Fox Alpha
From AI to Actuator
|
Public Attributes | |
| const char * | name |
| int | w |
| int | h |
| LL_PanelModel | model |
| bool(* | init )(Lamb &lamb) |
| void(* | fill )(Lamb &lamb, int x, int y, int w, int h, uint16_t color) |
| void(* | blit )(Lamb &lamb, int x, int y, int w, int h, const uint16_t *src) |
| uint16_t *(* | fb )(void) |
| void(* | set_brightness )(Lamb &lamb, int percent) |
| void(* | on_off )(Lamb &lamb, bool on) |
A board's panel: geometry, model, and the five operations. See the note above on NULL.
| const char* LL_Panel::name |
"st7789-240x240-spi3", "co5300-410x502-qspi", "rgb565-480x480-par16"
| int LL_Panel::h |
panel geometry in pixels
| LL_PanelModel LL_Panel::model |
PUSH or SCAN – branch on this, not on the name.
| bool(* LL_Panel::init) (Lamb &lamb) |
bring up bus + controller; idempotent
PUSH only; NULL on SCAN.
| uint16_t *(* LL_Panel::fb) (void) |
SCAN only; NULL on PUSH.
| void(* LL_Panel::set_brightness) (Lamb &lamb, int percent) |
0..100, or NULL if the panel has none
| void(* LL_Panel::on_off) (Lamb &lamb, bool on) |
display on/off, or NULL