thermferm/simulator.h

Sat, 16 May 2015 17:39:30 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 16 May 2015 17:39:30 +0200
changeset 362
c92651a54969
parent 259
b7c967359771
child 714
24749c296a50
permissions
-rw-r--r--

Made the client-server protocol more robust. When a change to a unit is made using the web interface, the main process is stopped during the update. Splitted the PID in two PID's, one for heating and one for cooling. Adjusted the web edit scrreen for this, but there are still rough edges. Replaced the PID code, maybe this one works better for our purpose. The simulator air temperature changes on the simulator heater and cooler, but it is not realistic at all. This is a development version, do not use in production. The version is 0.3.0

#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