Fri, 11 Mar 2016 20:27:02 +0100
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%.
158 | 1 | #ifndef MY_DEVICES_H |
2 | #define MY_DEVICES_H | |
3 | ||
4 | ||
179
417ee898fb02
Added PID implementation and 433 MHz radio control switches. Not reliable yet.
Michiel Broek <mbroek@mbse.eu>
parents:
158
diff
changeset
|
5 | int device_out(char *, int); |
392
034746506c3d
Fixed initialisation of new GPIO devices.
Michiel Broek <mbroek@mbse.eu>
parents:
179
diff
changeset
|
6 | int device_in(char *, int *); |
158 | 7 | int devices_detect(void); |
8 | ||
9 | #ifdef HAVE_WIRINGPI_H | |
10 | PI_THREAD (my_devices_loop); | |
11 | #else | |
12 | void *my_devices_loop(void *); | |
13 | #endif | |
14 | ||
15 | #endif |