From a3a4390e5a156e64f6de8290a4b388ce49ee4a2a Mon Sep 17 00:00:00 2001 From: bfgelectronics <44001993+bfgelectronics@users.noreply.github.com> Date: Tue, 21 Jun 2022 19:34:57 +0300 Subject: [PATCH 1/2] Small changes --- examples/mandelbrot/mandelbrot.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/mandelbrot/mandelbrot.ino b/examples/mandelbrot/mandelbrot.ino index f4164f2..6480d5a 100644 --- a/examples/mandelbrot/mandelbrot.ino +++ b/examples/mandelbrot/mandelbrot.ino @@ -14,15 +14,15 @@ #else // Use SPI #define STMPE_CS 6 - #define TFT_CS 9 - #define TFT_DC 10 + #define TFT_CS 10 + #define TFT_DC 9 #define SD_CS 5 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC); #endif const int16_t - bits = 20, // Fractional resolution + bits = 12, // Fractional resolution pixelWidth = 320, // TFT dimensions pixelHeight = 240, iterations = 128; // Fractal iteration limit or 'dwell' @@ -37,7 +37,7 @@ float #endif void setup(void) { - Serial.begin(115200); + Serial.begin(9600); Serial.print("Mandelbrot drawer!"); tft.begin(); From 9cd53bcd26763dedb67761ece8e3a68c70de35d6 Mon Sep 17 00:00:00 2001 From: bfgelectronics <44001993+bfgelectronics@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:20:58 +0300 Subject: [PATCH 2/2] reverted pin changes and baud rate --- examples/mandelbrot/mandelbrot.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mandelbrot/mandelbrot.ino b/examples/mandelbrot/mandelbrot.ino index 6480d5a..1db1a3f 100644 --- a/examples/mandelbrot/mandelbrot.ino +++ b/examples/mandelbrot/mandelbrot.ino @@ -14,8 +14,8 @@ #else // Use SPI #define STMPE_CS 6 - #define TFT_CS 10 - #define TFT_DC 9 + #define TFT_CS 9 + #define TFT_DC 10 #define SD_CS 5 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC); #endif @@ -37,7 +37,7 @@ float #endif void setup(void) { - Serial.begin(9600); + Serial.begin(115200); Serial.print("Mandelbrot drawer!"); tft.begin();