Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: include/motor.hpp
- Revision:
- 26:53b793b7a82f
- Parent:
- 23:112c0be5a7f3
- Child:
- 28:21773a6fb6df
--- a/include/motor.hpp Tue Nov 19 20:42:01 2013 +0000 +++ b/include/motor.hpp Sun Nov 24 06:00:21 2013 +0000 @@ -7,7 +7,7 @@ class Motor { public: - Motor(PinName aPin, PinName fPin, PinName bPin, PinName pwmPin, PinName encA, PinName encB); + Motor(PinName aPin, PinName fPin, PinName bPin, PinName pwmPin, QEI enc); void start(); void stop();