E=MC / Mbed 2 deprecated coolcarsuperfast2

Dependencies:   mbed MODSERIAL telemetry-master

Fork of coolcarsuperfast by Michael Romain

Revision:
23:bf38d7d2255a
Parent:
19:d9746cc2ec80
Child:
24:7fc204a3d013
diff -r d9746cc2ec80 -r bf38d7d2255a main.cpp
--- a/main.cpp	Tue Apr 28 17:13:33 2015 +0000
+++ b/main.cpp	Tue Apr 28 22:29:41 2015 +0000
@@ -85,10 +85,10 @@
 int numInterrupts = 0;
 
 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Tuning Values that can make it or break it ~~~~~~~~~~~~~~~~~~~~~~~~
-float pulsewidth = 0.14f;
+float pulsewidth = 0.2f;
 int intTimMod = 0;
-int maxValThresh = .1; //~.1 for earlier in the day, reduce it (maybe something like .05 - .01 or something) as it gets darker 
-bool turnSpeedControl = false; //have increased PWMs when turning when true.
+float maxValThresh = .12; //~.1 for earlier in the day, reduce it (maybe something like .05 - .01 or something) as it gets darker 
+bool turnSpeedControl = true; //have increased PWMs when turning when true.
 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 // Hardware periods