2017-11-14 19:07:10 +00:00
|
|
|
/*! \file lcdtext.h
|
|
|
|
\brief LCD text library.
|
|
|
|
*/
|
2017-09-24 20:38:14 +00:00
|
|
|
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Draw a hex digit to the LCD.
|
2017-09-24 20:38:14 +00:00
|
|
|
void lcd_digit(int pos, int digit);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Draw a character to the LCD.
|
2017-10-03 18:32:20 +00:00
|
|
|
void lcd_char(int pos, char c);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Clear a digit of the LCD.
|
2017-09-27 23:26:17 +00:00
|
|
|
void lcd_cleardigit(int pos);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Draw a number to the LCD.
|
2017-09-24 20:38:14 +00:00
|
|
|
void lcd_number(long num);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Draw a string to the LCD.
|
2017-11-16 02:33:13 +00:00
|
|
|
void lcd_string(const char *str);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Draw a hex number to the LCD.
|
2017-09-24 20:38:14 +00:00
|
|
|
void lcd_hex(long num);
|
|
|
|
|
|
|
|
|
|
|
|
//Symbols
|
2017-11-14 19:07:10 +00:00
|
|
|
|
|
|
|
//! Turn the colon on or off.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setcolon(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Turn the period of a digit on or off.
|
2017-10-17 18:37:10 +00:00
|
|
|
void setperiod(int digit, int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the AM symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setam(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the PM symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setpm(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the multiplication symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setmult(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the minus symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setminus(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the plus symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setplus(int on);
|
2017-11-14 19:07:10 +00:00
|
|
|
//! Set the division symbol.
|
2017-09-24 20:38:14 +00:00
|
|
|
void setdivide(int on);
|