Ben Gordon
/
ELEC351_GroupA-branch1
Troubleshooting
Diff: Display.hpp
- Revision:
- 12:edf31d0a61f0
- Parent:
- 11:c561293919d9
- Child:
- 13:d49ec153d644
--- a/Display.hpp Thu Nov 08 00:37:25 2018 +0000 +++ b/Display.hpp Thu Nov 08 21:43:49 2018 +0000 @@ -1,13 +1,24 @@ #ifndef _DISPLAY_HPP #define _DISPLAY_HPP + #include "mbed.h" + #include "DataTypes.hpp" + #include "LCD.hpp" class Display{ public: Display(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7) : lcd(rs,e,d4,d5,d6,d7) {} void INIT(); void clear(); + void pageOne(); + void pageTwo(); + + void setTemperature(S_BYTE temp); + void setLightLevel(U_BYTE light); + void setPressure(U_BYTE pres); private: - + char _temperature[4]; + char _lightLevel[5]; + char _pressure[6]; private: LCD lcd; };