Thank you Michael. SDFileSystem on K64F works nicely here.
/media/uploads/kg1/file.bmp
I note that the bmp file is restricted to the default screen size (480x272) whereas I am using 800x480 on buydisplay ER-TFTM070-5.
Also the dates on the above files are 1/01/2098. These are minor matters.
Regarding the LocalFileSystem I believe that there is a flag in mbed that is set if a platform is not compatible. This enables the K64F to fail instantly upon hitting a LocalFileSystem. Perhaps your code can use this flag to switch between LocalFileSystem and SD?
Are there other changes you have made to the original RA8875 library?
I have helped David make changes to the original library to prevent characters printing over the edge of the screen. His latest version has these changes. I have also have word wrap working in my copy at home.
I am interested in these items below:
If I use lcd.init(); with no parameters I get two copies of your screen.
if I use lcd.init(800, 480); I get one copy of your screen.
if I use lcd.init(800,480,8); hard fonts are ok but user soft fonts are a fussy white unreadable. The default is 8 bit.
If I use lcd.init(800,480,16); fonts are back to normal.
if I use lcd.init(800,480,16,0); reset as normal but the screen displays nothing. The default for poweron is 0? What are the mbed rules if a parameter has no default specified?
if I use lcd.init(800,480,16,1); fonts are back to normal, single display.
If I use lcd.init(800,480,16,1,0,0); Not using keypad or touch: fonts are back to normal, single display.
Most interested to receive your comments. If you wish to take this offline please email me gordonkevin117(at)gmail(dot)com
Regards,
Kevin
I am using: Windows 8.1, IDE:Kinetis Design Studio, PLATFORM: K64F: MK64FN1M0VLL12, Display: ER-TFTM070-5, PROGRAM: RA8875_DEMO I have made two changes: CHANGES: main.cpp
RA8875.h
Two errors in the RA8875_Demo code:
I searched on Google and found: https://github.com/ceterumnet/Smoothie/blob/master/src/libs/FPointer.h which provided an example on line 112:
I changed the RA8875.h code:
which compiles ok. The error "main.cpp:11:1: error: 'LocalFileSystem' does not name a type" I used Google on mbed: "LocalFileSystem only works on the two original mbed boards (LPC1768 and LPC11u24)." was one answer. If I comment out:
what other code should I also comment out? I seem to have memory errors:
Also the touchTicker.attach_us function seems to "go into a spin". Please see screen shots attached.
Your help would be much appreciated. Kevin.