thermferm/devices.h@38162f374842
thermferm/devices.h
Wed, 03 Apr 2024 16:21:46 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Wed, 03 Apr 2024 16:21:46 +0200
- changeset 657
- 38162f374842
- parent 654
-
e981d0185485
- child 684
-
b2265c7e5707
- permissions
- -rw-r--r--
Read ds2413 moved to one-wire thread. Only reprogram if it is an input and programmed as output.
#ifndef MY_DEVICES_H
#define MY_DEVICES_H
int read_w1(char *address, char *file);
int write_w1(char *address, char *file, uint8_t val);
int device_out(char *uuid, int value);
int device_in(char *uuid, int *value);
int devices_detect(void);
void *my_devices_loop(void *);
#endif