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
global.h
- Committer:
- JordanO
- Date:
- 2019-10-09
- Revision:
- 32:da34d27a13f3
- Parent:
- 31:d1bd16a05148
- Child:
- 33:5e2e95c322da
- Child:
- 35:51914ac2d7f4
File content as of revision 32:da34d27a13f3:
#ifndef global_h #define global_h //Structures struct motorReturnSub { int counts; float angle; float velocity; }; struct motorData { motorReturnSub motor1; motorReturnSub motor2; motorReturnSub motor3; }; //Define global variables extern double X; //Input from EMG, signal X //Define structures extern motorData motorReturn; #endif