LCD library files
LCDdisplay.cpp
- Committer:
- Swabey89
- Date:
- 2018-12-28
- Revision:
- 4:b51c2a72c348
- Parent:
- 3:747b1be583fc
- Child:
- 5:f5cba66935ec
File content as of revision 4:b51c2a72c348:
#include "LCDdisplay.hpp" void LCD_display(double temp, double pressure, float light) { //Write new data to LCD (not fast!) LCD_tout.attach(LCD_toutISR,TOUT_TIME); LCDlock.lock(); lcd.cls(); lcd.printf("T:%4.1f L:%5.1f\n",temp, light*100); lcd.printf("P:%.2f", pressure); LCDlock.unlock(); LCD_tout.detach(); }