Boboter
Loading...
Searching...
No Matches
Device::Display Class Reference

#include <display.h>

Public Member Functions

 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 at the current cursor position.
void set_cursor_position (uint8_t x, uint8_t y)
 Sets the position of the cursor on the screen.

Constructor & Destructor Documentation

◆ Display()

Device::Display::Display ( Robot & robot)
explicit

◆ ~Display()

Device::Display::~Display ( )

Member Function Documentation

◆ clear()

void Device::Display::clear ( )

Clears the display.

◆ 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 x,
uint8_t y )

Sets the position of the cursor on the screen.

Parameters
xThe x coordinate
ythe y coordinate

◆ shutdown()

void Device::Display::shutdown ( )

Shuts down the LCD panel and the according I2C device.

◆ write_text()

void Device::Display::write_text ( const char * text)

Writes text to the display at the current cursor position.

Parameters
textThe text to write

The documentation for this class was generated from the following files: