Skip to content
Discussion options

You must be logged in to vote

Excellent stuff everyone, thank you! As i said, i was originally storing the gif data as sets of 256 rgb integer triplets (ie (255, 255, 255)). The suggestions of sosi-deadeye and jimmo gave me the idea of converting that to bytes instead. Much better! So what I ended up doing is forgetting about the metadata as i dont really need it. Then i just took the frames' rgb values and moved them to one big list rather than a list of lists. So for 1 frame i have a list of 768 integers. I then called bytearray on that big list and saved that to a file. Then on the esp8266, i load that file and pull out every 3bytes and send that to the neopixel. Works like a charm and no memory issues! Thanks ever…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@peterhinch
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jbmfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants