Control an H-Bridge using a PwmOut (enable) and two DigitalOuts (direction select)

Fork of Motor by Simon Ford

Revision:
13:d67ecfc6cd7f
Parent:
8:d192b38e0d5c
--- a/Motor.h	Mon May 18 11:05:31 2015 +0000
+++ b/Motor.h	Mon May 18 12:49:42 2015 +0000
@@ -5,13 +5,13 @@
 #include "PID.h"
 #include "QEI.h"
 
-/*nastawy regulatora PID*/
+/*nastawy regulatora PID
 const float K = 1;
 const float Ti = 0;
 const float Td = 0;
 const float itv = 0.001;
 #define AUTO 1
-
+*/
 /*QEI pins*/
 /*
 #define CH_A PTA2