brewpanel/futil.h

Mon, 25 Mar 2024 17:14:56 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 25 Mar 2024 17:14:56 +0100
changeset 650
0b215e4b814e
parent 420
644a6106d712
permissions
-rw-r--r--

Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.

#ifndef	FUTIL_H
#define	FUTIL_H


int  mkdirs(char *, mode_t);
int  file_exist(char *, int);

#endif

mercurial