thermferm/lcd-buffer.h

Fri, 19 May 2017 16:34:21 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 19 May 2017 16:34:21 +0200
changeset 510
2da3d3340403
parent 245
b01b6238eb67
permissions
-rw-r--r--

Version 0.6.0. The MQTT data messages are now allways the same length so that openhab will function with the message updates.

#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