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