thermferm/simulator.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 259
b7c967359771
child 714
24749c296a50
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 SIMULATOR_H
#define	SIMULATOR_H

#ifdef USE_SIMULATOR


#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_simulator_loop);
#else
void *my_simulator_loop(void *);
#endif

#endif

#endif

mercurial