thermferm/lcd-buffer.h

Mon, 09 May 2016 21:35:55 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 09 May 2016 21:35:55 +0200
changeset 500
5aa914eb644e
parent 245
b01b6238eb67
permissions
-rw-r--r--

Units now have an unique alias name so that the MQTT messages are more friendly.

#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