Simple program to test BlockMove API on the RA8875 display. Tested with RA8875 v148 and mbed v148

Dependencies:   mbed RA8875

Revision:
2:a6a8695af935
Parent:
0:d06677ab6ca6
Child:
3:db0f8dc64407
--- a/main.cpp	Mon Mar 04 12:09:04 2019 +0000
+++ b/main.cpp	Sun Jul 28 02:58:43 2019 +0000
@@ -18,9 +18,9 @@
 #define CAP_TOUCH
 
 #ifdef CAP_TOUCH
-RA8875 lcd(p5, p6, p7, p12, NC, p9,p10,p13, "tft"); // MOSI,MISO,SCK,/ChipSelect,/reset, SDA,SCL,/IRQ, name
+RA8875 lcd(p5,p6,p7,p12,NC, p9,p10,p13, "tft"); // MOSI,MISO,SCK,/ChipSelect,/reset, SDA,SCL,/IRQ, name
 #else
-RA8875 lcd(p5, p6, p7, p12, NC, "tft");             //MOSI, MISO, SCK, /ChipSelect, /reset, name
+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.
 
@@ -68,7 +68,7 @@
     #ifndef CAP_TOUCH
     InitTS(lcd);   // Calibration for resistive touch panel
     #endif
-    rect_t grid = {50,50,LCD_W-50,LCD_H-50};
+    rect_t grid = rect_t(50,50,LCD_W-50,LCD_H-50);
     lcd.SelectDrawingLayer(0);
     DrawGrid(grid,10,10,Green);