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.

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Jul 28 03:06:38 2019 +0000
Parent:
5:3efba02a1cb2
Child:
7:f95f9e484c85
Commit message:
Update RA lib

Changed in this revision

RA8875.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/RA8875.lib	Mon Mar 04 12:11:39 2019 +0000
+++ b/RA8875.lib	Sun Jul 28 03:06:38 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/WiredHome/code/RA8875/#f92c0f1f6db4
+http://mbed.org/users/WiredHome/code/RA8875/#c7fb7a4fb42f
--- 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