LCD display management.
More...
#include "lcd.h"
#include <stddef.h>
#include <stdint.h>
#include "common/nextion/nextion.h"
#include "common/phal_G4/usart/usart.h"
#include "pages/race.h"
#include "pages/calibration.h"
#include "pages/faults.h"
#include "pages/amk.h"
#include "pages/vcu.h"
LCD display management.
- Author
- Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
◆ advancePage()
| void advancePage |
( |
void | | ) |
|
Advances to the next selectable page.
◆ ALLOCATE_STRBUF()
◆ backPage()
Moves to the previous selectable page.
◆ LCD_init()
| void LCD_init |
( |
uint32_t | baud_rate | ) |
|
◆ LCD_tx_update()
| void LCD_tx_update |
( |
void | | ) |
|
Called periodically to send commands to the Nextion LCD display via USART.
◆ moveDown()
◆ moveUp()
◆ selectItem()
◆ updatePage()
Updates LCD display page.
Key behaviors:
- Maintains display of error pages when active
◆ updateTelemetryPages()
| void updateTelemetryPages |
( |
void | | ) |
|
Updates current telemetry page by calling its handler if available.
◆ curr_page
◆ page_handlers
◆ prev_page