Francisco Guerra
/
SymbitronValves
Amplitude Modulation Code
Fork of SymbitronValves by
Diff: main.cpp
- Revision:
- 6:d73f051400ee
- Parent:
- 5:4772ef79675f
- Child:
- 7:9f6dfd88cd18
--- a/main.cpp Fri Jul 03 10:19:21 2015 +0000 +++ b/main.cpp Fri Jul 03 10:20:08 2015 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" -#include "FastPWM.h" +//#include "FastPWM.h" #include "HIDScope.h" -#include "tsi_sensor.h" +//#include "tsi_sensor.h" #define V1_CLOSE D2 #define V1_OPEN D3 @@ -23,7 +23,7 @@ HIDScope scope(3); AnalogIn pressure(PRESSURE); AnalogIn ain_setpoint(EXTERNAL_SETPOINT); -TSIAnalogSlider slider(TSI_A, TSI_B, 100); +//TSIAnalogSlider slider(TSI_A, TSI_B, 100); Ticker valvetick; float setpoint1 = 0;