Add warning for memory requirements

This commit is contained in:
Bodmer 2023-12-07 21:12:06 +00:00
parent 5e9629a63f
commit 47ad8e58d8
4 changed files with 16 additions and 0 deletions

View File

@ -2,6 +2,10 @@
// This example renders a png file that is stored in a FLASH array // This example renders a png file that is stored in a FLASH array
// using the PNGdec library (available via library manager). // using the PNGdec library (available via library manager).
// Note: The PNGDEC required lots of RAM to work (~40kbytes) so
// this sketch is will not run on smaller memory processors (e.g.
// ESP8266, STM32F103 etc.)
// Image files can be converted to arrays using the tool here: // Image files can be converted to arrays using the tool here:
// https://notisrac.github.io/FileToCArray/ // https://notisrac.github.io/FileToCArray/
// To use this tool: // To use this tool:

View File

@ -2,6 +2,10 @@
// This example renders a png file that is stored in a FLASH array // This example renders a png file that is stored in a FLASH array
// using the PNGdec library (available via library manager). // using the PNGdec library (available via library manager).
// Note: The PNGDEC required lots of RAM to work (~40kbytes) so
// this sketch is will not run on smaller memory processors (e.g.
// ESP8266, STM32F103 etc.)
// The example png is encoded as ARGB 8 bits per pixel with indexed colour // The example png is encoded as ARGB 8 bits per pixel with indexed colour
// It was created using GIMP and has a transparent background area. // It was created using GIMP and has a transparent background area.

View File

@ -3,6 +3,10 @@
// ESP32, ESP8266). It renders a png file that is stored in LittleFS // ESP32, ESP8266). It renders a png file that is stored in LittleFS
// using the PNGdec library (available via library manager). // using the PNGdec library (available via library manager).
// Note: The PNGDEC required lots of RAM to work (~40kbytes) so
// this sketch is will not run on smaller memory processors (e.g.
// ESP8266, STM32F103 etc.)
// The test image is in the sketch "data" folder (press Ctrl+K to see it). // The test image is in the sketch "data" folder (press Ctrl+K to see it).
// You must upload the image to LittleFS using the Arduino IDE Tools Data // You must upload the image to LittleFS using the Arduino IDE Tools Data
// Upload menu option (you may need to install extra tools for that). // Upload menu option (you may need to install extra tools for that).

View File

@ -3,6 +3,10 @@
// ESP32, ESP8266). It renders a png file that is stored in LittleFS // ESP32, ESP8266). It renders a png file that is stored in LittleFS
// using the PNGdec library (available via library manager). // using the PNGdec library (available via library manager).
// Note: The PNGDEC required lots of RAM to work (~40kbytes) so
// this sketch is will not run on smaller memory processors (e.g.
// ESP8266, STM32F103 etc.)
// It uses DMA to send image data to the TFT while the decoding takes // It uses DMA to send image data to the TFT while the decoding takes
// place. The processor and display combination must support DMA to // place. The processor and display combination must support DMA to
// run this sketch! The decode time dominates so DMA is mainly an advantage // run this sketch! The decode time dominates so DMA is mainly an advantage