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
PositionSetter.h
- Committer:
- wanchp
- Date:
- 2015-11-12
- Revision:
- 0:a4ad8cb94c43
File content as of revision 0:a4ad8cb94c43:
#include "mbed.h" typedef float Degree; typedef float Time; struct Cartesian {float x, y,z;}; class PositionSetter { uint16_t NofAxes; uint32_t NofPositions; Degree **Position; Time *Duration; bool *Write; int cursor; public: PositionSetter(); PositionSetter(Degree **); Degree ReadCurrentPosition(uint16_t AxisNo); Degree* ReadCurrentPosition(void); Degree ReadNextPosition(uint16_t AxisNo); Degree* ReadNextPosition(void); };