Controller firmware for a mobile robot, having a K64F MCU on board. Please read README.md for details.

Dependents:   robotkocsi_OS

demo.h

Committer:
dralisz82
Date:
2018-05-30
Revision:
0:260ca1f1cba7

File content as of revision 0:260ca1f1cba7:

#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