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: pins.cpp
- Revision:
- 1:12f18cede014
- Parent:
- 0:62e51b80d738
- Child:
- 3:c9df852ad9ac
diff -r 62e51b80d738 -r 12f18cede014 pins.cpp --- a/pins.cpp Thu Feb 15 13:19:37 2018 +0000 +++ b/pins.cpp Thu Feb 15 20:17:42 2018 +0000 @@ -1,5 +1,7 @@ //This file is strictly to define pins for buggy operations. Thats it. But thought it would be easier to overseer them like this - +#include "mbed.h" +#include "C12832.h" +#include "pins.h" //Encoder pins (created as a QEI object, so just defined naming for pins) //======================= #define channelARight PA_1 @@ -16,7 +18,7 @@ DigitalOut motorDirLeft(PB_5); DigitalOut motorModeRight(PB_2); DigitalOut motorModeLeft(PB_3); -DigitalOut driveBoard(PB_1); +DigitalOut driveBoard (PB_1); //Line sensor pins //======================= //Magnet sensor pins