E

Dependencies:   mbed

Revision:
1:5dfedc044f7a
Parent:
0:2890f9a09e85
--- a/stepmotor.h	Tue Mar 20 23:49:10 2018 +0000
+++ b/stepmotor.h	Wed Mar 21 01:32:33 2018 +0000
@@ -17,7 +17,7 @@
 public:
  
     stepmotor(PinName in1, PinName in2, PinName in3, PinName in4); 
-    void step(uint32_t num_steps,uint8_t cw);
+    void step(uint32_t num_steps,bool cw);
     void set_speed(int speed);
     uint32_t get_speed();
 private: