Betterfrost / Mbed 2 deprecated timer_based_1kHz_ramp

Dependencies:   mbed

Fork of BoxBrovoEcho_OCt3 by Betterfrost

Files at this revision

API Documentation at this revision

Comitter:
rafael210
Date:
Mon Oct 22 20:05:00 2018 +0000
Parent:
7:11433074d022
Commit message:
1000Hz firmware changed to 200Hz (ramp up fixed)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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