This commit is contained in:
@ -29,6 +29,10 @@ private:
|
|||||||
* Internal helper for printing debug strings
|
* Internal helper for printing debug strings
|
||||||
*/
|
*/
|
||||||
void debugWrite(int x, int y, const char *text);
|
void debugWrite(int x, int y, const char *text);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display instance
|
||||||
|
*/
|
||||||
DisplayProxy *display;
|
DisplayProxy *display;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* \file main.cpp
|
* \file
|
||||||
* Main application entry point.
|
* Main application entry point.
|
||||||
* Arduino Style but still a .cpp file
|
* Arduino Style but still a .cpp file
|
||||||
*/
|
*/
|
||||||
@ -10,7 +10,9 @@
|
|||||||
#include "CommandHandler.h"
|
#include "CommandHandler.h"
|
||||||
#include "DisplayProxyMAX7456.h"
|
#include "DisplayProxyMAX7456.h"
|
||||||
|
|
||||||
|
/// The display instance
|
||||||
DisplayProxyMAX7456 display;
|
DisplayProxyMAX7456 display;
|
||||||
|
//The commandhandler needs a reference to the display instance
|
||||||
CommandHandler cmd_handler(&display);
|
CommandHandler cmd_handler(&display);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user