fuck this
Dependencies: BMP280
Diff: LCD.h
- Revision:
- 16:1b3488fb67f5
- Parent:
- 15:e61297f9bae9
- Child:
- 17:95b0b1ec0f90
diff -r e61297f9bae9 -r 1b3488fb67f5 LCD.h --- a/LCD.h Sat Jan 06 22:54:42 2018 +0000 +++ b/LCD.h Sun Jan 07 00:02:29 2018 +0000 @@ -35,17 +35,19 @@ bool _AutoQuit; //After message is displayed, should LCD return to SCROLLREADINGS? //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/*, Thread& LCDThread, Ticker& DisplayScroll*/); //Constructor + EnviromLCDDisplay(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, PinName Button1Pin, PinName Button2); //Constructor //~EnviromLCDDisplay(); //Destructor bool POST(void); //Power On Self Test. Returns true if pass void Start(void); //Starts thread void DispMessage(string message, bool returnToReadings); //Display given message on screen - void LCDThread(void); //This needs to be attached to a thread + };