First import from throwbot
Fork of TB6612FNG2 by
Diff: TB6612.h
- Revision:
- 2:73cbc6028f7a
- Parent:
- 1:051a7ecff13e
- Child:
- 4:53e02c276f23
--- a/TB6612.h Mon Nov 12 16:39:11 2012 +0000 +++ b/TB6612.h Thu May 08 19:11:04 2014 +0000 @@ -13,9 +13,12 @@ class TB6612 { public: + + int scale; + TB6612(PinName pwm, PinName fwd, PinName rev); + void speed(int speed); - void move(int speed , int time); void operator= ( int value ) { speed(value);