STM3 ESC dual brushless motor controller. 10-60v, motor power rating tiny to kW. Ganged or independent motor control As used in 'The Brute' locomotive - www.jons-workshop.com

Dependencies:   mbed BufferedSerial Servo FastPWM

Revision:
12:d1d21a2941ef
Parent:
11:bfb73f083009
--- a/Radio_Control_In.cpp	Sat Jan 19 11:45:01 2019 +0000
+++ b/Radio_Control_In.cpp	Mon Mar 04 17:51:08 2019 +0000
@@ -39,6 +39,12 @@
     return  period_us;
 }
 
+void    RControl_In::reset ()
+{
+    pulse_width_us = period_us = pulse_count = 0;
+    t.reset ();
+}
+
 bool    RControl_In::validate_rx ()
 {   //  Tests for pulse width and repetition rates being believable
     return  !((period_us < 5000) || (period_us > 25000) || (pulse_width_us < 800) || (pulse_width_us > 2200));