Code required for data acquisition of couple tanks system with WSE sbc
Dependencies: mbed mbedWSEsbc
Diff: main.cpp
- Revision:
- 1:a87d98b19444
- Parent:
- 0:e42d1cc6513e
- Child:
- 2:a69d07fe0e62
diff -r e42d1cc6513e -r a87d98b19444 main.cpp --- a/main.cpp Mon Aug 29 13:49:17 2016 +0000 +++ b/main.cpp Thu Sep 01 17:48:04 2016 +0000 @@ -42,7 +42,7 @@ float tank1 = read_max1270_volts(1, 1, 1); //Logic to exit loop if tank gets too full - if(tank1 > 4.1 || tank2 > 4.1) { + if(tank1 > 4.0 || tank2 > 4.0) { pc.printf("%.2f, %.3f, %.3f, %.3f\r\n", t.read(),tank1,tank2,pwm); run_flag = false; break;