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: global.h
- Revision:
- 31:d1bd16a05148
- Parent:
- 30:161f748a1cce
- Child:
- 32:da34d27a13f3
diff -r 161f748a1cce -r d1bd16a05148 global.h --- a/global.h Wed Oct 09 13:40:50 2019 +0000 +++ b/global.h Wed Oct 09 13:50:32 2019 +0000 @@ -1,19 +1,20 @@ #ifndef global_h #define global_h -//Structures -struct motorReturnSub -{ - int counts; - float angle; - float velocity; -}; -struct motorReturn -{ - motorReturnSub motor1; - motorReturnSub motor2; - motorReturnSub motor3; -}; + //Structures + struct motorReturnSub + { + int counts; + float angle; + float velocity; + }; + + struct motorReturn + { + motorReturnSub motor1; + motorReturnSub motor2; + motorReturnSub motor3; + }; //Define global variables extern double X; //Input from EMG, signal X