![](/media/cache/profiles/altb_JGUSAOG.jpg.50x50_q85.jpg)
Simple program for introduction of mirror actuator.
ControllerLoop.h
- Committer:
- altb2
- Date:
- 2021-05-01
- Revision:
- 13:1bf960928a93
- Parent:
- 8:49ac75c42da0
File content as of revision 13:1bf960928a93:
#include "mbed.h" #include "ThreadFlag.h" // This is the loop class, it is not a controller at first hand, it guarantees a cyclic call class ControllerLoop { public: ControllerLoop(float Ts); virtual ~ControllerLoop(); void start_loop(void); void init_controllers(void); private: void loop(void); Thread thread; Ticker ticker; ThreadFlag threadFlag; Timer ti; float Ts; void sendSignal(); };