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.
Fork of priustroller by
Diff: includes.h
- Revision:
- 27:846c08fb3697
- Parent:
- 24:f1ff9c7256b5
- Child:
- 29:cb03760ba9ea
--- a/includes.h Tue Mar 10 17:51:38 2015 +0000 +++ b/includes.h Sat Mar 14 18:51:36 2015 +0000 @@ -5,10 +5,15 @@ #include "math.h" #include "fastmath.h" #include "transforms.h" +#include "stm32f411xe.h" using namespace FastMath; using namespace Transforms; +extern int current1, current2; + +extern DigitalOut toggler; + extern float debug_registers[32]; #define dbg_angle debug_registers[0] @@ -25,5 +30,8 @@ #define dbg_q_filtered debug_registers[11] #define dbg_ref_d debug_registers[12] #define dbg_ref_q debug_registers[13] +#define dbg_ialpha debug_registers[14] +#define dbg_ibeta debug_registers[15] + #endif \ No newline at end of file