#include <display.h>
|
| | Display (Robot &robot) |
| | ~Display () |
| void | initialize () |
| | Configures the LCD panel and all I2C components related to the display.
|
| void | shutdown () |
| | Shuts down the LCD panel and the according I2C device.
|
| void | clear () |
| | Clears the display.
|
| void | write_text (const char *text) |
| | Writes text to the display buffer at the current cursor position.
|
| void | set_cursor_position (uint8_t column, uint8_t row) |
| | Sets the position of the cursor.
|
| void | write_buffer_to_display () |
| | Writes the display buffer to the display.
|
◆ Display()
| Device::Display::Display |
( |
Robot & | robot | ) |
|
|
explicit |
◆ ~Display()
| Device::Display::~Display |
( |
| ) |
|
◆ clear()
| void Device::Display::clear |
( |
| ) |
|
◆ initialize()
| void Device::Display::initialize |
( |
| ) |
|
Configures the LCD panel and all I2C components related to the display.
◆ set_cursor_position()
| void Device::Display::set_cursor_position |
( |
uint8_t | column, |
|
|
uint8_t | row ) |
Sets the position of the cursor.
- Parameters
-
| column | The target column, ranging from 0 to 15 |
| row | The target row, ranging from 0 to 7 |
◆ shutdown()
| void Device::Display::shutdown |
( |
| ) |
|
Shuts down the LCD panel and the according I2C device.
◆ write_buffer_to_display()
| void Device::Display::write_buffer_to_display |
( |
| ) |
|
Writes the display buffer to the display.
◆ write_text()
| void Device::Display::write_text |
( |
const char * | text | ) |
|
Writes text to the display buffer at the current cursor position.
- Note
- This does not change anything on the display, only on the internal display buffer
- Parameters
-
| text | The text to write to the display |
The documentation for this class was generated from the following files: