fuck this
Dependencies: BMP280
Diff: LCD.h
- Revision:
- 17:95b0b1ec0f90
- Parent:
- 16:1b3488fb67f5
- Child:
- 18:dff5292d62a9
--- a/LCD.h Sun Jan 07 00:02:29 2018 +0000 +++ b/LCD.h Sun Jan 07 00:06:48 2018 +0000 @@ -16,10 +16,8 @@ private: //private variables enum ThreadState{MESSAGE,SCROLLREADINGS,ADJUSTTIME}; - enum ScrollState{PRESTEMP,LDRTIME}; ThreadState _TState; //This determines what function the LCD is doing - ScrollState _SState; //This determines what screen on the LCD is shown //Values to display float _temperature; @@ -28,7 +26,6 @@ string _message; //Objects to be used - Ticker _DisplayScroll; //pointer to an external ticker that will be used for changing the display Thread _LCDThread; //Pointer to the therad that will be used for the LCD PinName _Button1Pin; //Button will change between InterruptIn and DigitalIn. Used to enter time edit mode DigitalIn _Button2; //Button2 @@ -37,7 +34,6 @@ //private functions void LCDThreadFn(void); //This needs to be attached to a thread void TimeButtonISR(void); //Run when Button 1 is set as an interrupt in - void DisplayScrollISR(void);//Run by ticker public: //public functions EnviromLCDDisplay(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, PinName Button1Pin, PinName Button2); //Constructor