Functions related to printing to the LCD
lcd_functions.cpp
- Committer:
- emilytrembeth
- Date:
- 2019-01-03
- Revision:
- 2:dd699b3c02bd
- Parent:
- 1:de2f80988f12
File content as of revision 2:dd699b3c02bd:
#include "mbed.h" #include "lcd_functions.hpp" #include "serial_functions.hpp" //NEEDS TO BE MOVED AS HAS NOTHING TODO WITH LCD void UpdateTime() { date_mutex.lock(); myled = !myled; currentTime = time(NULL); strftime(lcdBuffer, 32, "%d/%m/%Y %H:%M:%S", localtime(¤tTime)); //lcd.cls(); //lcd.locate(0,0); //pc.printf("%s\n\r", lcdBuffer); myled = !myled; date_mutex.unlock(); }