Changed PWM frequency.

Fork of Motordriver by Christopher Hasler

Revision:
6:fe5a59b614d9
Parent:
5:3110b9209d3c
--- a/motordriver.cpp	Thu Nov 25 13:34:15 2010 +0000
+++ b/motordriver.cpp	Wed Apr 29 17:26:54 2015 +0000
@@ -34,7 +34,7 @@
         _pwm(pwm), _fwd(fwd), _rev(rev) {
 
     // Set initial condition of PWM
-    _pwm.period(0.001);
+    _pwm.period(0.0001);
     _pwm = 0;
 
     // Initial condition of output enables