From a26f29fca99c94e64a3a86ecfb915a0c1e9d6dea Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Thu, 19 Dec 2013 12:08:05 -0800 Subject: [PATCH] Use textWrite's delay on smaller sizes with faster processors --- Adafruit_RA8875.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Adafruit_RA8875.cpp b/Adafruit_RA8875.cpp index e1a4960..b9cb947 100644 --- a/Adafruit_RA8875.cpp +++ b/Adafruit_RA8875.cpp @@ -361,7 +361,13 @@ void Adafruit_RA8875::textWrite(char* buffer, uint16_t len) for (uint16_t i=0;i 1) delay(1); +#elif defined(__arm__) + // This delay is needed with textEnlarge(1) because + // Teensy 3.X is much faster than Arduino Uno + if (_textScale > 0) delay(1); +#endif } }