Esp32 and parallel output.
Do you know if the parallel output with the esp32 is a real parallel output (I.e if I use two pins I can double my FPS)
I would like to go from 600leds (driven by a single esp8266 which works like a charm) to 1200leds
I would prefer to stick to and ESP instead of going for the teensy + Bluetooth /WiFi module.
Thank you guys
Yes, that is what parallel output is - the data lines are written out in parallel, at the same time.
@Daniel_Garcia but it’s not working apparently for the eps32 or i do something wrong in my code. How do u enable that with the esp32?
Ah - sorry - misread that as the esp8266 - I don’t know if the esp32 port implemented parallel output or not yet - @Sam_Guyer ?
@Daniel_Garcia here is the code
FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, 0,NUM_LEDS/2);
FastLED.addLeds<LED_TYPE, DATA_PIN2, COLOR_ORDER>(leds, NUM_LEDS/2,NUM_LEDS/2);
and then I use fastled.show();
but the speed is exactly the same as for if I use only one PIN for all the leds
Ah - that isn’t parallel output - that’s defining multiple pins - parallel output uses a slightly different designation to output to groups of pins - https://github.com/FastLED/FastLED/wiki/Parallel-Output
@Daniel_Garcia ok but that is only for the teensy ? or can it work on esp8266 or esp32 ?
Parallel output was done for the esp8266 - I don’t know if it was done for the esp32, as I didn’t do that port, just took a pull request for it - @Sam_Guyer can probably answer about the state of parallel output on the esp232.
@Daniel_Garcia thank you for your help
apparently it exists here. but I don’t know how to declare the strip for the ESP32 does anybody know?
@Daniel_Garcia Hi Dan, I’m just getting into some bigger projects and the ESP chips. I’ve run about 1k LEDs off of a teensyLC split over 3 pins, and now porting some of that to the 8266 chip and maybe the ESP32. I split my lines simply using the code that Yves posted, just defining multiple pins and multiple strips and doing the work to split the image appropriately with a simple function along with the XY map.
You mentioned that this is defining multiple pins and is not in fact parallel output. Does that mean that it doesn’t give the same or similar benefits of being able to boost your FPS?
Thanks for all your work! I’m just getting going, but with the amount of new hardware on the market for cheap and the price of LED strips coming down fast, I’m starting to get ambitious on some projects!