Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
lcd_functions.cpp
- Committer:
- erolleyparnell
- Date:
- 2018-12-07
- Revision:
- 1:de2f80988f12
- Parent:
- 0:063d075c40cb
- Child:
- 2:dd699b3c02bd
File content as of revision 1:de2f80988f12:
#include "mbed.h"
#include "lcd_functions.hpp"
#include "serial_functions.hpp"
void displayOnLcd() {
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();
}