Kerry Martin
/
Liz_Test_Code
KSM edits
Diff: main.cpp
- Revision:
- 17:c8ef96a6e43b
- Parent:
- 16:231837aa2c37
- Child:
- 18:307303d9c8f6
--- a/main.cpp Sun Aug 06 13:40:24 2017 +0000 +++ b/main.cpp Sun Aug 06 15:06:08 2017 +0000 @@ -1,7 +1,16 @@ // // Demo Program -#include "mbed.h" // v128 - tested working -#include "RA8875.h" // v148 - tested working +// mbed version Graphics Working PrintScreen Working? "/local/file.bmp" +// v148 Yes No, FILE *Image = fopen(Name_BMP, "wb"); fails +// v142 Yes No, FILE *Image = fopen(Name_BMP, "wb"); fails +// v140 Yes No, FILE *Image = fopen(Name_BMP, "wb"); fails +// v138 Yes No, FILE *Image = fopen(Name_BMP, "wb"); fails +// v137 Yes Yes +// v136 Yes Yes +// v128 Yes Yes +// +#include "mbed.h" // testing: v147 - working: v146, v145, v142, v136, v128, fails: v148 +#include "RA8875.h" // v138 - tested working #include "MyFont18x32.h" #include "BPG_Arial08x08.h" #include "BPG_Arial10x10.h" @@ -19,7 +28,7 @@ #else RA8875 lcd(p5, p6, p7, p12, NC, "tft"); //MOSI, MISO, SCK, /ChipSelect, /reset, name #endif -LocalFileSystem local("local"); // access to calibration file for resistive touch. +LocalFileSystem local("local"); // access to calibration file for resistive touch and printscreen #ifdef BIG_SCREEN #define LCD_W 800