thermferm/lcd-buffer.h

Thu, 25 Feb 2016 22:42:54 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 25 Feb 2016 22:42:54 +0100
changeset 486
5a237a99a793
parent 245
b01b6238eb67
permissions
-rw-r--r--

Compacted LCD display for units, allways 4 instead of 4 to 6 lines. But it's a bit more cryptic. We could write a short manual.

#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

mercurial