pump controller by rkk

Dependencies:   mbed-rtos mbed

Fork of pump_controller by Yanni Coroneos

Revision:
4:d484df7c8f97
Parent:
3:3aac91b02f55
--- a/main.cpp	Sun Dec 15 21:14:29 2013 +0000
+++ b/main.cpp	Mon Jan 20 19:38:18 2014 +0000
@@ -5,7 +5,7 @@
 #define PROGRAM_RUNTIME 1000.0
 #define PWM_PERIOD 10 // 10ms pwm period
 #define APPLIED_VOLTAGE 12.0
-#define HALF_PERIOD_DURATION 1000 //ms
+#define HALF_PERIOD_DURATION 250 //ms
 
 Serial pc(USBTX, USBRX); // tx, rx