|
PER Firmware
|
LCD display management. More...
#include "lcd.h"#include <stddef.h>#include <stdint.h>#include "nextion.h"#include "pages/race.h"#include "pages/calibration.h"#include "pages/faults.h"Functions | |
| void | updatePage () |
| Updates LCD display page. | |
| void | LCD_init (uint32_t baud_rate) |
| void | advancePage () |
| Advances to the next selectable page. | |
| void | backPage () |
| Moves to the previous selectable page. | |
| void | moveUp () |
| void | moveDown () |
| void | selectItem () |
| void | updateTelemetryPages () |
| Updates current telemetry page by calling its handler if available. | |
Variables | |
| volatile page_t | curr_page = PAGE_PREFLIGHT |
| volatile page_t | prev_page = PAGE_PREFLIGHT |
| const page_handler_t | page_handlers [NUM_PAGES] |
LCD display management.
| void updatePage | ( | ) |
Updates LCD display page.
Key behaviors:
| const page_handler_t page_handlers[NUM_PAGES] |