Switch float to double

This commit is contained in:
2022-10-06 18:26:17 -06:00
parent cc123773b5
commit aba9954053
3 changed files with 54 additions and 27 deletions
+5 -5
View File
@@ -7,17 +7,17 @@
#define SOLENOID_INFLATE 1
#define SOLENOID_DEFLATE 2
#define RELAY1_PIN 11
#define RELAY2_PIN 7
#define RELAY1_PIN 7
#define RELAY2_PIN 11
#define PRESSURE_SENSOR_PIN A0
extern float simulatedPressure;
extern double simulatedPressure;
void initSimulation();
void tickSimulation();
void measurePressure(float &pressureValue);
void resamplePressure(float &pressureValue);
void measurePressure(double &pressureValue);
void resamplePressure(double &pressureValue);
void setSoleniod(int solenoidState);
#endif