Working Renard prototype with eInk display, dummy data.

Dependencies:   DebouncedInterrupt SharpLCD_LucidaFont mbed-src

Fork of Renard_UI_Only by Eric Gowland

Files at this revision

API Documentation at this revision

Comitter:
awatt196
Date:
Tue Sep 02 09:42:41 2014 +0000
Parent:
3:e73cbdf58f5b
Commit message:
Updated to smaller font

Changed in this revision

SharpLCD.lib Show diff for this revision Revisions of this file
SharpLCD_LucidaFont.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);