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:
- 28:4a5671b3d88d
- Child:
- 29:8d588d554779
- Child:
- 30:161f748a1cce
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/global.h Wed Oct 09 13:20:19 2019 +0000 @@ -0,0 +1,17 @@ +#ifndef global_h +#define global_h + +//Structures +struct MotorData { + int a; + int b; + int c; + }; + + //Define global variables + extern double X; //Input from EMG, signal X + + //Define structures + extern MotorData Motor1; + +#endif \ No newline at end of file