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.
Dependencies: BLE_API SharpLCD_LucidaFont mbed nRF51822
Fork of Renard_YO by
Diff: main.cpp
- Revision:
- 12:6bd7c00a0a93
- Parent:
- 11:7fe2639ee5f6
diff -r 7fe2639ee5f6 -r 6bd7c00a0a93 main.cpp --- a/main.cpp Tue Apr 28 14:39:40 2015 +0000 +++ b/main.cpp Wed Apr 29 07:41:08 2015 +0000 @@ -166,14 +166,18 @@ void updateLCD() { fb.clear(); fb.bitBlit(img, 96, 96, 0,0); - //fb.bitBlit(img2, 72, 80, 0, 0); + + fb.bitBlit(battery, 16, 16, 75, 0); + + fb.bitBlit(BLE, 16, 16, 0, 0); + fb.printString(mainFont, 60, 65, user); - fb.printString(mainFont, 5, 63, timeStr); + fb.printString(mainFont, 5, 61, timeStr); - fb.printString(subFont, 16, 80, dayStr); + fb.printString(subFont, 14, 78, dayStr); - fb.printString(subFont, 43, 80, dateStr); + fb.printString(subFont, 43, 78, dateStr); lcd.drawFrameBuffer(fb); }