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 IEEE_14_Freescale by
Diff: robot.cpp
- Revision:
- 9:aff48e331147
- Parent:
- 8:c23cd84befa2
- Child:
- 10:926f142f16a3
--- a/robot.cpp Fri Nov 22 21:28:52 2013 +0000 +++ b/robot.cpp Mon Feb 03 20:37:35 2014 +0000 @@ -6,7 +6,7 @@ //this is the main place pinouts are put //also sets up the control system constants robot::robot() : spi(PTD2, PTD3, PTD1), bigenc(spi,PTD0), gyro(PTE0, PTE1), - right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4){ + right(bigenc,0,1,PTA5), left(bigenc,2,3,PTA4), motors(spi,PTD0) { bigenc.setDirections(1,-1,1,1); left.setReversed(1);