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.
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: main.cpp
- Revision:
- 33:5e2e95c322da
- Parent:
- 28:4a5671b3d88d
- Child:
- 40:82addb417220
--- a/main.cpp Wed Oct 09 14:19:23 2019 +0000 +++ b/main.cpp Wed Oct 09 15:26:54 2019 +0000 @@ -1,13 +1,15 @@ //Libraries #include "mbed.h" #include "FastPWM.h" - #include "HIDScope.h" + //#include "HIDScope.h" #include "MODSERIAL.h" #include "QEI.h" //Homebrew libraries + + //#include "global.h" #include "header.h" - #include "global.h" + //Objects //LED @@ -45,20 +47,6 @@ Ticker Main_Ticker; Ticker Tick_Blinky;//used for the blinking of the leds - //struct motorReturnSub -//{ -// int counts; -// float angle; -// float velocity; -//}; - -//struct motorReturn -//{ -// motorReturnSub motor1; -// motorReturnSub motor2; -// motorReturnSub motor3; -//} motorReturn; - //Changing LED colour depending on current state void FlipLED(void) {