thermferm/lcd-buffer.h@48cc8868f9f4
thermferm/lcd-buffer.h
Sun, 07 Apr 2024 20:26:37 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sun, 07 Apr 2024 20:26:37 +0200
- changeset 666
- 48cc8868f9f4
- parent 245
-
b01b6238eb67
- permissions
- -rw-r--r--
Added commandline switch --foreground, the --debug now only activates extra debug logging. No more console output. The thermferm process uses a state table, this makes the code more readable and have less large functions.
#ifndef LCD_BUFFER_H
#define LCD_BUFFER_H
typedef struct _lcd_rows {
struct _lcd_rows *next;
char row[81 * sizeof(char)];
} lcd_rows;
void lcd_buf_reset(void);
void lcd_buf_write(int, const char *, ...);
void lcd_buf_step(int);
void lcd_buf_show(void);
#endif