Device Driver for 16x2 LCD panel.
HD44780 with 4 data lines.
Example product: https://www.adafruit.com/product/181.
More...
Device Driver for 16x2 LCD panel.
HD44780 with 4 data lines.
Example product: https://www.adafruit.com/product/181.
- Author
- StaffanMelin
- Date
- March 2021
#include <lcd_hd44780.h>
◆ LcdHD44780()
daisy::LcdHD44780::LcdHD44780 |
( |
| ) |
|
|
inline |
◆ ~LcdHD44780()
daisy::LcdHD44780::~LcdHD44780 |
( |
| ) |
|
|
inline |
◆ Clear()
void daisy::LcdHD44780::Clear |
( |
| ) |
|
Clears the contents of the LCD.
◆ Init()
Initializes the LCD.
- Parameters
-
config | is a struct that sets cursor on/off, cursor blink on/off and the Pin's that connects to the LCD. |
◆ Print()
Prints a string on the LCD.
- Parameters
-
string | is a C-formatted string to print. |
◆ PrintInt()
void daisy::LcdHD44780::PrintInt |
( |
int |
number | ) |
|
Prints an integer value on the LCD.
- Parameters
-
number | is an integer to print. |
◆ SetCursor()
Moves the cursor of the LCD (the place to print the next value).
- Parameters
-
row | is the row number (0 or 1). |
col | is the column number (0 to 15). |
The documentation for this class was generated from the following file: