![]() |
Meditech control panel software
1.0beta
application C++ firmware for control panel ChipKit PI board
|
Manages the Alphanumeric display for program output messages. More...
#include "LCD.h"
Inheritance diagram for LCD:Public Member Functions | |
| LCD () | |
| ~LCD () | |
| void | enable (bool s) |
| Set the display on or off. More... | |
| void | blink (bool set) |
| Set blink mode. More... | |
| void | error (String m) |
| shows an error message More... | |
| void | error (String m, int x, int y) |
| shows an error message at specified coordinates More... | |
| void | message (String m) |
| shows a string message More... | |
| void | message (String m, int x, int y) |
| shows a string message at specified coordinates More... | |
| void | clean () |
| clean the LCD screen More... | |
| void | dec (int n) |
| shows an integer in decimal format More... | |
| void | hex (int n) |
| shows an integer in hexadeciaml format More... | |
| void | bin (int n) |
| shows an integer in binary format More... | |
| void | oct (int n) |
| shows an integer in octal format More... | |
| void | welcome () |
| shows the program welcome message More... | |
Private Member Functions | |
| LCD (const LCD &c) | |
| LCD & | operator= (const LCD &c) |
Private Attributes | |
| AlphaLCD | lcd |
| AlphaLCD class inherited instance. More... | |
Manages the Alphanumeric display for program output messages.
This class implements the AlphaLCD class that manages the Alphanumeric LCD display hardware using three digital pins via a shift-out register.
| LCD::LCD | ( | ) |
| LCD::~LCD | ( | ) |
|
private |
| void LCD::bin | ( | int | n | ) |
shows an integer in binary format
| void LCD::blink | ( | bool | set | ) |
Set blink mode.
| void LCD::clean | ( | ) |
clean the LCD screen
| void LCD::dec | ( | int | n | ) |
shows an integer in decimal format
| void LCD::enable | ( | bool | s | ) |
Set the display on or off.
| void LCD::error | ( | String | m | ) |
shows an error message
| void LCD::error | ( | String | m, |
| int | x, | ||
| int | y | ||
| ) |
shows an error message at specified coordinates
| void LCD::hex | ( | int | n | ) |
shows an integer in hexadeciaml format
| void LCD::message | ( | String | m | ) |
shows a string message
| void LCD::message | ( | String | m, |
| int | x, | ||
| int | y | ||
| ) |
shows a string message at specified coordinates
| void LCD::oct | ( | int | n | ) |
shows an integer in octal format
| void LCD::welcome | ( | ) |
shows the program welcome message