thermferm/devices.h

Mon, 11 Aug 2014 19:17:32 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 11 Aug 2014 19:17:32 +0200
changeset 220
382938c5fce2
parent 179
417ee898fb02
child 392
034746506c3d
permissions
-rw-r--r--

Make sure we don't read the DHT11 within 2 seconds.

#ifndef MY_DEVICES_H
#define	MY_DEVICES_H


int device_out(char *, int);
int devices_detect(void);

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

#endif

mercurial