brewco/util.h

Thu, 31 Dec 2015 20:52:28 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 31 Dec 2015 20:52:28 +0100
changeset 480
1992db823b7e
parent 471
1564b60558b1
permissions
-rw-r--r--

Fixed compiling on real Pi's

446
78e9d5234d15 Switched to PID code from Arduino
Michiel Broek <mbroek@mbse.eu>
parents: 441
diff changeset
1 #ifndef _UTIL_H
78e9d5234d15 Switched to PID code from Arduino
Michiel Broek <mbroek@mbse.eu>
parents: 441
diff changeset
2 #define _UTIL_H
409
cdf68044adaf Added a new brewpanel program that runs on an SDL/X screen. It will be an emulator for the hardware panels. Development version 0.5.0
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3
cdf68044adaf Added a new brewpanel program that runs on an SDL/X screen. It will be an emulator for the hardware panels. Development version 0.5.0
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4
cdf68044adaf Added a new brewpanel program that runs on an SDL/X screen. It will be an emulator for the hardware panels. Development version 0.5.0
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5 int mkdirs(char *, mode_t);
441
bde74a8f2ad7 Added automate state file.
Michiel Broek <mbroek@mbse.eu>
parents: 409
diff changeset
6 int file_exist(char *, int);
464
4a624c071ca9 Added file copy. Move home directory detection to the main program function. During opening of the main configuration file, backups are made, 10 revisions in total.
Michiel Broek <mbroek@mbse.eu>
parents: 446
diff changeset
7 int file_cp(char *, char *);
480
1992db823b7e Fixed compiling on real Pi's
Michiel Broek <mbroek@mbse.eu>
parents: 471
diff changeset
8 #ifndef HAVE_WIRINGPI_H
446
78e9d5234d15 Switched to PID code from Arduino
Michiel Broek <mbroek@mbse.eu>
parents: 441
diff changeset
9 long millis(void);
480
1992db823b7e Fixed compiling on real Pi's
Michiel Broek <mbroek@mbse.eu>
parents: 471
diff changeset
10 #endif
471
1564b60558b1 Manual mode now uses the PID's. The display shows heating percentage and the setpoints alternated very 2 seconds.
Michiel Broek <mbroek@mbse.eu>
parents: 464
diff changeset
11 void hlt_status(int);
1564b60558b1 Manual mode now uses the PID's. The display shows heating percentage and the setpoints alternated very 2 seconds.
Michiel Broek <mbroek@mbse.eu>
parents: 464
diff changeset
12 void mlt_status(int);
1564b60558b1 Manual mode now uses the PID's. The display shows heating percentage and the setpoints alternated very 2 seconds.
Michiel Broek <mbroek@mbse.eu>
parents: 464
diff changeset
13 void pump_status(int);
446
78e9d5234d15 Switched to PID code from Arduino
Michiel Broek <mbroek@mbse.eu>
parents: 441
diff changeset
14
409
cdf68044adaf Added a new brewpanel program that runs on an SDL/X screen. It will be an emulator for the hardware panels. Development version 0.5.0
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
15
cdf68044adaf Added a new brewpanel program that runs on an SDL/X screen. It will be an emulator for the hardware panels. Development version 0.5.0
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
16 #endif

mercurial