thermferm/server.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 106
1bd9a16f5061
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	SERVER_H
#define	SERVER_H


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


#endif

mercurial