demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Interpreter.h

Committer:
KlaasGovaerts
Date:
2018-05-02
Revision:
35:efdbfccf2678
Parent:
31:915f6cb7ffa5

File content as of revision 35:efdbfccf2678:

#include "rtos.h"
#include "TCPlistener.h"

#ifndef INTERPRETER_H
#define INTERPRETER_H

/**
* Class used to interpret text commands.
*/
    class Interpreter{
        private:
            int directionToNumber(char* direction);
            Queue<int,8>* queue;
            int LED[8];
        public:
            Interpreter(Queue<int,8>* queue);
            void executeCommand(char* command);
    };
#endif