Class daisy::LcdHD44780¶
ClassList > daisy > LcdHD44780
Device Driver for 16x2 LCD panel. HD44780 with 4 data lines. Example product:https://www.adafruit.com/product/181 .More...
#include <lcd_hd44780.h>
Classes¶
| Type | Name |
|---|---|
| struct | Config |
Public Functions¶
| Type | Name |
|---|---|
| void | Clear () |
| void | Init (const Config & config) |
| LcdHD44780 () |
|
| void | Print (const char * string) |
| void | PrintInt (int number) |
| void | SetCursor (uint8_t row, uint8_t col) |
| ~LcdHD44780 () |
Detailed Description¶
Author:
StaffanMelin
Date:
March 2021
Public Functions Documentation¶
function Clear¶
Clears the contents of the LCD.
function Init¶
Initializes the LCD.
Parameters:
configis a struct that sets cursor on/off, cursor blink on/off and the Pin's that connects to the LCD.
function LcdHD44780¶
function Print¶
Prints a string on the LCD.
Parameters:
stringis a C-formatted string to print.
function PrintInt¶
Prints an integer value on the LCD.
Parameters:
numberis an integer to print.
function SetCursor¶
Moves the cursor of the LCD (the place to print the next value).
Parameters:
rowis the row number (0 or 1).colis the column number (0 to 15).
function ~LcdHD44780¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/lcd_hd44780.h