This commit is contained in:
		
							
								
								
									
										14
									
								
								src/main.cpp
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								src/main.cpp
									
									
									
									
									
								
							@@ -10,10 +10,6 @@
 | 
			
		||||
 * Arduino Style but still a .cpp file
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \file
 | 
			
		||||
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "Arduino.h"
 | 
			
		||||
 | 
			
		||||
@@ -21,9 +17,15 @@
 | 
			
		||||
#include "CommandHandler.h"
 | 
			
		||||
#include "DisplayProxyMAX7456.h"
 | 
			
		||||
 | 
			
		||||
/// The display instance
 | 
			
		||||
/**
 | 
			
		||||
 * @brief Instance of DisplayProxyMAX7456
 | 
			
		||||
 */
 | 
			
		||||
DisplayProxyMAX7456 display;
 | 
			
		||||
//The commandhandler needs a reference to the display instance
 | 
			
		||||
/**
 | 
			
		||||
 * @brief The commandhandler needs a reference to a display instance
 | 
			
		||||
 * 
 | 
			
		||||
 * @return CommandHandler 
 | 
			
		||||
 */
 | 
			
		||||
CommandHandler cmd_handler(&display);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user