thermferm/lcd-buffer.h

Fri, 11 Mar 2016 20:27:02 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 11 Mar 2016 20:27:02 +0100
changeset 492
750f2468dec5
parent 245
b01b6238eb67
permissions
-rw-r--r--

Changed PID code. PID parameters are now stored 3 digits instead of 2 behind the decimal point. Prevent extreme heating or cooling in Beer mode. Heat and Cool lockdown now allows the lagest value to win instead of zero them both. PID output treshold from 2% to 50%.

#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