aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-08-12 23:40:44 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-08-12 23:40:44 +0100
commit7dd49d8b3c32e88f5d1226b03a1b8a16eebaf43d (patch)
treeb811795c18bfe492c98b05286fc09d3c4539889c /examples
parent33feae2b04113ed789589f4eb815680847bad187 (diff)
'Final' changes.
Allocate memory at the row level.
Diffstat (limited to 'examples')
-rw-r--r--examples/AnimatedGIFPanel/AnimatedGIFPanel.ino28
1 files changed, 15 insertions, 13 deletions
diff --git a/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino b/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino
index 0f08249..d4db9bf 100644
--- a/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino
+++ b/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino
@@ -1,21 +1,23 @@
-// Example sketch which shows how to display a 64x32
-// animated GIF image stored in FLASH memory
+// Example sketch which shows how to display a 64x32 animated GIF image stored in FLASH memory
// on a 64x32 LED matrix
//
-// To display a GIF from memory, a single callback function
-// must be provided - GIFDRAW
-// This function is called after each scan line is decoded
-// and is passed the 8-bit pixels, RGB565 palette and info
-// about how and where to display the line. The palette entries
-// can be in little-endian or big-endian order; this is specified
-// in the begin() method.
-//
-// The AnimatedGIF class doesn't allocate or free any memory, but the
-// instance data occupies about 22.5K of RAM.
-//
// Credits: https://github.com/bitbank2/AnimatedGIF/tree/master/examples/ESP32_LEDMatrix_I2S
//
+/* INSTRUCTIONS
+ *
+ * 1. First Run the 'ESP32 Sketch Data Upload Tool' in Arduino from the 'Tools' Menu.
+ * - If you don't know what this is or see it as an option, then read this:
+ * https://github.com/me-no-dev/arduino-esp32fs-plugin
+ * - This tool will upload the contents of the data/ directory in the sketch folder onto
+ * the ESP32 itself.
+ *
+ * 2. You can drop any animated GIF you want in there, but keep it to the resolution of the
+ * MATRIX you're displaying to. To resize a gif, use this online website: https://ezgif.com/
+ *
+ * 3. Have fun.
+ */
+
#define FILESYSTEM SPIFFS
#include <SPIFFS.h>
#include <AnimatedGIF.h>