thermferm/devices.h

Fri, 19 May 2017 16:34:21 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 19 May 2017 16:34:21 +0200
changeset 510
2da3d3340403
parent 392
034746506c3d
child 648
62c5ed1b9cfd
permissions
-rw-r--r--

Version 0.6.0. The MQTT data messages are now allways the same length so that openhab will function with the message updates.

#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

mercurial