Betterfrost / Mbed 2 deprecated timer_based_1kHz_ramp

Dependencies:   mbed

Fork of BoxBrovoEcho_OCt3 by Betterfrost

Revision:
8:da7fc0c1a28a
Parent:
7:11433074d022
--- a/main.cpp	Wed Oct 03 16:25:06 2018 +0000
+++ b/main.cpp	Mon Oct 22 20:05:00 2018 +0000
@@ -30,7 +30,7 @@
 float V_batt = 300.0;
 float I_out = 5.0;
 float V_out = 0.0;
-float freq = 1200;     //switching frequency in Hz
+float freq = 200;     //switching frequency in Hz
 Timer TIMER;
 float RunTime = 60;  // in seconds