REV1
Dependencies: KellerDruck_pressure PID PWM-Coil-driver Sensirion_SF04 VL6180
Fork of TestBenchFlow by
Diff: main.cpp
- Revision:
- 7:a9cb04819d76
- Parent:
- 5:e3eff8a04b25
--- a/main.cpp Mon Jul 31 16:25:47 2017 +0000 +++ b/main.cpp Mon Jul 31 21:02:18 2017 +0000 @@ -10,7 +10,9 @@ while (1) { mainflow.Measure(FLOW); + wait(.01); mainflow.Measure(TEMP); + wait(.01); mainflow.Measure(VDD); pc.printf("%.0f %s (raw: %i) Temp: %.1fC Vdd: %.2f\n\r", ((float)mainflow.flow.i16 / mainflow.scaleFactor.u16), mainflow.flowUnitStr, mainflow.flow.i16, (float)mainflow.temperature.i16/10, (float)mainflow.vdd.u16/1000); wait(2);