Add basic hardware simulation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Library for managing hardware
|
||||
|
||||
#ifndef _hardware_H_
|
||||
#define _hardware_H_
|
||||
|
||||
#define SOLENOID_STOP 0
|
||||
#define SOLENOID_INFLATE 1
|
||||
#define SOLENOID_DEFLATE 2
|
||||
|
||||
void initSimulation();
|
||||
void tickSimulation();
|
||||
void measurePressure(float &pressureValue, int pin);
|
||||
void setSoleniod(int solenoidState);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user