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
Revision 4:b131ff1e047c, committed 2014-09-02
- Comitter:
- awatt196
- Date:
- Tue Sep 02 09:42:41 2014 +0000
- Parent:
- 3:e73cbdf58f5b
- Child:
- 5:ffa456512437
- Commit message:
- Updated to smaller font
Changed in this revision
--- a/SharpLCD.lib Wed Aug 27 10:38:48 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/rgrover1/code/SharpLCD/#761d0f489b61
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SharpLCD_LucidaFont.lib Tue Sep 02 09:42:41 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/teams/ASE/code/SharpLCD_LucidaFont/#fbc21399051d
--- a/main.cpp Wed Aug 27 10:38:48 2014 +0000
+++ b/main.cpp Tue Sep 02 09:42:41 2014 +0000
@@ -136,12 +136,12 @@
fb.bitBlit(Unread, 16, 24, UNREAD_ICON_X, UNREAD_ICON_Y);
}
//Text fields...
- fb.printString(lookupFontFace("DejaVu Serif", 8), PRIMARY_TEXT_X, PRIMARY_TEXT_Y, BLACK, notifications[visible_notification_index].primary_text);
- fb.printString(lookupFontFace("DejaVu Serif", 8), SECONDARY_TEXT_X, SECONDARY_TEXT_Y, BLACK, notifications[visible_notification_index].secondary_text);
+ fb.printString(lookupFontFace("Lucida 8pt", 8), PRIMARY_TEXT_X, PRIMARY_TEXT_Y, BLACK, notifications[visible_notification_index].primary_text);
+ fb.printString(lookupFontFace("Lucida 8pt", 8), SECONDARY_TEXT_X, SECONDARY_TEXT_Y, BLACK, notifications[visible_notification_index].secondary_text);
} else {
//no notifications...
//Write current notification...
- fb.printString(lookupFontFace("DejaVu Serif", 8), PRIMARY_TEXT_X, PRIMARY_TEXT_Y, BLACK, "No");
+ //fb.printString(lookupFontFace("Lucida 8pt", 8), PRIMARY_TEXT_X, PRIMARY_TEXT_Y, BLACK, "No Notifications");
}
//epaper.write_disp();
lcd.drawFrameBuffer(fb);
