Controller firmware for a mobile robot, having a K64F MCU on board. Please read README.md for details.
Diff: demo.h
- Revision:
- 0:260ca1f1cba7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demo.h Wed May 30 15:10:20 2018 +0000 @@ -0,0 +1,27 @@ +#ifndef demo_H +#define demo_H + +#include "mbed.h" +#include "rtos.h" +#include "drive.h" +#include "lights.h" + +class Demo { +public: + Demo(); + Demo(Drive* _drive, Lights* _lights); + ~Demo(); + + void playPause(); + void reset(); + +private: + bool f_run; + + Drive* drive; + Lights* lights; + Thread *demoThread; + static void demoThread_main(void const *argument); +}; + +#endif