Control the Pololu SMC02B
Diff: SMC02B.cpp
- Revision:
- 4:420e977e37b6
- Parent:
- 0:33043894c6cb
--- a/SMC02B.cpp Mon Oct 11 18:58:40 2010 +0000 +++ b/SMC02B.cpp Mon Oct 11 20:25:57 2010 +0000 @@ -3,7 +3,7 @@ */ #include "SMC02B.h" - SMC02B::SMC02B(PinName tx, PinName rx, PinName pin) : _rst(pin) + SMC02B::SMC02B(PinName tx, PinName rx, PinName rst) : _rst(rst) { _SMC02B = new Serial( tx, rx); _rst = 1;