thermferm/devices.h@750f2468dec5
thermferm/devices.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 392
-
034746506c3d
- child 648
-
62c5ed1b9cfd
- 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 MY_DEVICES_H
#define MY_DEVICES_H
int device_out(char *, int);
int device_in(char *, int *);
int devices_detect(void);
#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_devices_loop);
#else
void *my_devices_loop(void *);
#endif
#endif