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.
Fork of System_7_14 by
Diff: StaticDefs.cpp
- Revision:
- 1:e827d45c3948
- Parent:
- 0:45085dd174e7
- Child:
- 2:4698e312eadb
diff -r 45085dd174e7 -r e827d45c3948 StaticDefs.cpp --- a/StaticDefs.cpp Thu Apr 27 13:16:07 2017 +0000 +++ b/StaticDefs.cpp Thu Apr 27 16:47:11 2017 +0000 @@ -28,10 +28,10 @@ return pvf; } -BCEmotor & bce() +PololuHBridge & hBridge() { - static BCEmotor bce(p26, p29, p30); - return bce; + static PololuHBridge hBridge(p26, p29, p30); + return hBridge; } PositionController & posCon()