2024-09-06 13:33:19 +00:00
|
|
|
#ifndef VACUUM_H_
|
|
|
|
#define VACUUM_H_
|
|
|
|
|
|
|
|
#include <PID_v1.h> //PID by Brett Beauregard 1.2.0 https://github.com/br3ttb/Arduino-PID-Library/tree/master
|
|
|
|
#include "definitions.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-06 14:51:50 +00:00
|
|
|
#define VACUUM_UPDATE_INTERVAL 1000/10
|
2024-09-06 13:33:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void initVacuum();
|
|
|
|
void loopVacuum(unsigned long millis);
|
|
|
|
void setVacuum(bool val);
|
|
|
|
void printVacuumValues();
|
|
|
|
long readHX710B(uint8_t outpin);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* VACUUM_H_ */
|