brewco/devices.h

Tue, 22 Dec 2015 21:07:14 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 22 Dec 2015 21:07:14 +0100
changeset 472
55bcbf92ecab
parent 434
eb724767860d
permissions
-rw-r--r--

Added initial part of the brew automation.

#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