1
0
MAX7456JSON/lib/CommandHandler/CommandHandler.h

19 lines
363 B
C
Raw Normal View History

2019-09-04 13:28:38 +00:00
#ifndef COMMANDHANDLER_H
#define COMMANDHANDLER_H
#include "DisplayProxy.h"
2021-10-28 14:44:20 +00:00
/**
* Parse a JSON command and convert it into a display command
*/
2019-09-04 13:28:38 +00:00
class CommandHandler
{
public:
explicit CommandHandler(DisplayProxy *display);
bool parse(const char *cmd);
2019-09-04 13:28:38 +00:00
private:
void debugWrite(int x, int y, const char *text);
DisplayProxy *display;
};
#endif