haustorial/prosthesis_controller/vacuum.h

20 lines
412 B
C
Raw Permalink Normal View History

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);
2024-09-12 09:23:52 +00:00
float getAveragePumpspeed();
2024-09-06 13:33:19 +00:00
#endif /* VACUUM_H_ */