Monil

Dependencies:   mbed RA8875 mbed-rtos SDFileSystem Keypad

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sat Jan 23 16:59:35 2016 +0000
Parent:
8:f8c71faa94a8
Child:
10:be714b7f0644
Commit message:
Fixed a class and method name error in the print screen registration.

Changed in this revision

RA8875.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/RA8875.lib	Sat Dec 19 15:59:58 2015 +0000
+++ b/RA8875.lib	Sat Jan 23 16:59:35 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/WiredHome/code/RA8875/#0b084475d5a9
+http://mbed.org/users/WiredHome/code/RA8875/#fc60bfa0199f
--- a/main.cpp	Sat Dec 19 15:59:58 2015 +0000
+++ b/main.cpp	Sat Jan 23 16:59:35 2016 +0000
@@ -22,31 +22,31 @@
     
     
     // **************************
-    //RunTestSet(lcd, pc);
+    //RunTestSet(lcd, pc);  // If the library was compiled for test mode...
     
-    
-    lcd.foreground(BrightBlue);
+    lcd.foreground(RGB(255,255,0));
     lcd.puts(0,0, "RA8875 Soft Fonts - Build " __DATE__ " " __TIME__ "\r\n");
 
     lcd.SelectUserFont(Dave_Smart18x32);
     lcd.puts("**** ! Soft Fonts ! **** 0123456789\r\n");
     lcd.puts("ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n");
-    lcd.puts("abcdefghijklmnopqrstuvwxyz\r\n");
+    //lcd.puts("abcdefghijklmnopqrstuvwxyz\r\n");
     lcd.SelectUserFont();
     lcd.puts("Back to normal\r\n");
     lcd.SelectUserFont(BPG_Arial08x08);
     lcd.puts("BPG_Arial08x08 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n");
-    lcd.puts("BPG_Arial08x08 abcdefghijklmnopqrstuvwxyz\r\n");    
+    //lcd.puts("BPG_Arial08x08 abcdefghijklmnopqrstuvwxyz\r\n");    
     lcd.SelectUserFont(BPG_Arial10x10);
     lcd.puts("BPG_Arial10x10 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n");
-    lcd.puts("BPG_Arial10x10 abcdefghijklmnopqrstuvwxyz\r\n");
+    //lcd.puts("BPG_Arial10x10 abcdefghijklmnopqrstuvwxyz\r\n");
     lcd.SelectUserFont(BPG_Arial20x20);
-    lcd.puts("BPG_Arial20x20 ABCD\r\n");
+    lcd.puts("BPG_Arial20x20  ");
     lcd.SelectUserFont(BPG_Arial31x32);
-    lcd.puts("BPG_Arial31x32 ABCD\r\n");
+    lcd.puts("BPG_Arial31x32\r\n");
     lcd.SelectUserFont(BPG_Arial63x63);
-    lcd.puts("BPG_Arial63x63 ABCD\r\n");
+    lcd.puts("BPG_Arial63x63");
 
+    pc.printf("PrintScreen activated ...\r\n");
     RetCode_t r = lcd.PrintScreen(0,0,480,272,"/local/file.bmp");
     pc.printf("  PrintScreen returned %d\r\n", r);