stc_rpncalc/src/lcd.h

23 lines
466 B
C
Raw Normal View History

2019-03-20 05:34:51 +01:00
#ifndef LCD_H
#define LCD_H
#define MAX_CHARS_PER_LINE 16
2019-03-20 05:34:51 +01:00
#define MAX_ROWS 2
void LCD_Open(void);
void LCD_Clear(void);
void LCD_GoTo(unsigned int row, unsigned int col);
void LCD_SingleLineGoTo(unsigned int row_to);
2019-04-01 01:20:28 +02:00
void LCD_OutString(const char* string, uint8_t max_chars);
2019-03-20 05:34:51 +01:00
short TERMIO_PutChar(unsigned char letter);
2019-03-20 08:21:11 +01:00
void LCD_OutNibble(uint8_t x);
2019-04-01 01:20:28 +02:00
void LCD_ClearToEnd(uint8_t curr_row);
2019-03-20 05:34:51 +01:00
unsigned char LCD_Timeout_Error(void);
#endif