Example drawing mandelbrot on the RA8875 with touch to zoom in or out. Touch and hold > 4s to zoom out, touch to zoom in.

Dependencies:   mbed RA8875

Saw the nice mandelbrot demo from Bob Stone and leverage it to use this library.

Revision:
6:3979c5ff6d32
Parent:
5:3efba02a1cb2
--- a/main.cpp	Mon Mar 04 12:11:39 2019 +0000
+++ b/main.cpp	Sun Jul 28 03:06:38 2019 +0000
@@ -7,9 +7,9 @@
 #define LCD_C 16         // color - bits per pixel
 
 #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
 LocalFileSystem local("local");                     // access to calibration file for resistive touch.
 #endif