brewco/devices.h@045db83dd013
brewco/devices.h
Sat, 12 Dec 2015 21:20:46 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sat, 12 Dec 2015 21:20:46 +0100
- changeset 456
- 045db83dd013
- parent 434
-
eb724767860d
- permissions
- -rw-r--r--
Build a simulated immersion chiller. It will start on SIGUSR1 signal and stop on a SIGUSR2 signal. Hardcoded is te coolwater temperature at 14 degrees celcius.
#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