Display driver for the Vives city game
Diff: Display.h
- Revision:
- 0:80ce68cdf568
- Child:
- 1:2196e0eba43a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Display.h Tue Apr 25 19:47:42 2017 +0000 @@ -0,0 +1,31 @@ +#pragma once +#include "TextLCD.h" +#include "CostumCharacters.h" +#include "Mission" +#include <string> + +namespace VivesCityGame +{ + +class Display +{ + +private: + + std::string emptyRow; + TextLCD * lcd; + CostumCharacters * costumCharacters; + void clearScreen( void ); + +public: + Display(); + void setTime( int houres, int minutes, int seconds ); + void setStatusBattery( float batteryLvl ); + void setStatusGps( bool gpsFix ); + void setStatusLora( bool lora, int loraStatus ); + + void setWelcomeScreen( void ); + void setMissionScreen( Mission * currentMission ); + void setEndScreen( void ); +}; +};