marcmerlin / AnimatedGIFs

Animated GIFs on Teensy, ESP8266, ESP32 on top of FastLED::NeoMatrix, SmartMatrix::GFX, and SmartMatrix, using Sdcard, SPIFFS, and FatFS (FFAT)
MIT License
68 stars 12 forks source link

Pretty new to this! why no output pin defined? #8

Closed yannickh2 closed 3 years ago

yannickh2 commented 3 years ago

Hey Marc,

just trying out different things with my 16x32 RGB and ESP32. With other libraries I had to define my output pin for example Fast LED library. I have tried with your library to let some simple GIF play but do not know how to configure the code so that the display know from which PIN data comes to the RGB. Maybe I am missing something?

Best regards, Yannick

marcmerlin commented 3 years ago

Sure, all the defines are in https://github.com/marcmerlin/AnimatedGIFs/blob/master/neomatrix_config.h this is so that all your code/demos can include this file, and if you change your hardware, you only have to change one file.

This shows all the hardware backends supported: https://github.com/marcmerlin/Framebuffer_GFX this is how I migrated my code from fastled neomatrix to rgbpanels and TFTs without changing any code

Carefully read the comments in neomatrix_config.h, hopefully it should make sense, if not, let me know where you're stuck. Specifically look at the M24BY24 example in the file, and make your own for your own resolution and pin mapping (serial or parallel)