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
Revision 54:97c796f77ab3, committed 2019-10-15
- Comitter:
- JornD
- Date:
- Tue Oct 15 12:19:18 2019 +0000
- Branch:
- Branch2
- Parent:
- 53:0aab2185b144
- Commit message:
- Changed variable name in the Shift function in MemoryIO;
Changed in this revision
structures.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/structures.h Tue Oct 15 11:52:48 2019 +0000 +++ b/structures.h Tue Oct 15 12:19:18 2019 +0000 @@ -31,16 +31,16 @@ //--Memory of Input/Output struct MemoryIO { - float dY; //output, delayed once - float ddY; //output, delayed twice - float dX; //input, delayed once - float ddX; //input, delayed twice + float Ym; //output, delayed once + float Ymm; //output, delayed twice + float Xm; //input, delayed once + float Xmm; //input, delayed twice void ShiftValues(float CurX, float CurY) //Input: Current X, current Y { - ddY = dY; //Y delayed once to Y delayed twice - ddX = dX; //X delayed once to X delayed twice - dY = CurY; //Current Y to Y delayed once - dX = CurX; //Current X to X delayed once + Ymm = Ym; //Y delayed once to Y delayed twice + Xmm = Xm; //X delayed once to X delayed twice + Ym = CurY; //Current Y to Y delayed once + Xm = CurX; //Current X to X delayed once }; };