thermferm/lcd-buffer.h

Mon, 18 Aug 2014 15:10:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 18 Aug 2014 15:10:09 +0200
changeset 245
b01b6238eb67
parent 222
6519fc50f543
permissions
-rw-r--r--

You can now safely add and remove units on a running system.

#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