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
Diff: PositionSetter.h
- Revision:
- 0:a4ad8cb94c43
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PositionSetter.h Thu Nov 12 03:53:37 2015 +0000 @@ -0,0 +1,20 @@ +#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); +}; \ No newline at end of file