FRDM-K64F version of David Smart's RA8875_Demo using SDFileSystem to write to an SD card instead of LocalFileSystem
Dependencies: RA8875 SDFileSystem mbed
Fork of RA8875_Demo by
Revision 11:2fcc3ee75ebd, committed 2016-01-23
- Comitter:
- WiredHome
- Date:
- Sat Jan 23 17:48:06 2016 +0000
- Parent:
- 8:f8c71faa94a8
- Commit message:
- update libs
Changed in this revision
--- a/RA8875.lib Sat Dec 19 15:59:58 2015 +0000 +++ b/RA8875.lib Sat Jan 23 17:48:06 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 17:48:06 2016 +0000 @@ -1,6 +1,5 @@ -#include "mbed.h" - -#include "RA8875.h" +#include "mbed.h" // v112 +#include "RA8875.h" // v102 #include "MyFont18x32.h" #include "BPG_Arial08x08.h" #include "BPG_Arial10x10.h" @@ -36,19 +35,33 @@ 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"); + wait(3); + lcd.SelectUserFont(BPG_Arial10x10); lcd.puts("BPG_Arial10x10 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); lcd.puts("BPG_Arial10x10 abcdefghijklmnopqrstuvwxyz\r\n"); + wait(3); + lcd.SelectUserFont(BPG_Arial20x20); - lcd.puts("BPG_Arial20x20 ABCD\r\n"); + lcd.puts("BPG_Arial20x20 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); + + wait(3); lcd.SelectUserFont(BPG_Arial31x32); - lcd.puts("BPG_Arial31x32 ABCD\r\n"); + lcd.puts("BPG_Arial31x32 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); + + wait(3); lcd.SelectUserFont(BPG_Arial63x63); - lcd.puts("BPG_Arial63x63 ABCD\r\n"); + lcd.puts("BPG_Arial63x63 ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); - RetCode_t r = lcd.PrintScreen(0,0,480,272,"/local/file.bmp"); - pc.printf(" PrintScreen returned %d\r\n", r); + wait(6); + lcd.cls(); + lcd.SelectUserFont(BPG_Arial31x32); + lcd.puts("BPG_Arial31x32 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz 0123456789\r\n"); + lcd.puts("BPG_Arial31x32 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); + + //RetCode_t r = lcd.PrintScreen(0,0,480,272,"/local/file.bmp"); + //pc.printf(" PrintScreen returned %d\r\n", r); while(1) { ; // end
--- a/mbed.bld Sat Dec 19 15:59:58 2015 +0000 +++ b/mbed.bld Sat Jan 23 17:48:06 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/6f327212ef96 \ No newline at end of file