Skip to content

Saving/Loading a CRGB Array? #1008

Closed

Description

@paytah232

Is there a way that I could save a CRGB Array (CRGB leds[LED_NUM]) to a JSON file and then import that saved CRGB Array back into my program on the next boot?
Does such a function exist?
Running on an Arduino Based ESP32.

Activity

  1. marmilicious commented on Apr 30, 2020

    @marmilicious
    Contributor

    There's no built in FastLED function to do this. You should be able to write/read a CRGB array to a file though (on an SD card for example).

    If it was a fairly small number of pixels maybe you can save the array to EEPROM.

    For general help getting individual projects like this working, please ask in the FastLED Reddit group. There are lots more people there that can hopefully provide some suggestions. Please provide a bit more specific info about your hardware setup and what you are wanting to do if you ask there. If you want to share code there please put it on pastebin.com or gist.github.com and Share a link.

  2. added
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  3. moved this from Triage to Done in FastLED Trackeron Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corestatus: stalestatus: triage

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions