Hello team I have been working on a extension of eshkrab on the parallel

Hello team
I have been working on a extension of eshkrab on the parallel output of esp32

Now you can use up to 16 pins :slight_smile:
12-19;0;2;3;4;5;21-23;

for those who want to test it would be great !! it works for me :slight_smile:
NB: I use the core0 to run the fastLed.show(); (details on the readme of the GitHub)

let me now your thoughts about the selected pins
I could add 25-27
I will work on a version where you can select the pins you want to use

it’s based on the 3.1.6

below the performances of the library

Great stuff Yves. Yes, please share when you have a selectable pin version too. Thank you for including the graph.

Awesome work Yves. I’m heading up to Montreal for Igloofest for the weekend, but I’m excited to test this out starting next week. Time to get ambitious!

Would it be possible to control the FastLED.show() to only refresh one particular data pin instead of just refresh all of them?

@Robin_Gerritsen you can select how many led u want to refresh. Unfortunately for now the code is such that the pins are hardcoded. For instance if you want 1 line it will be on pin 12
Two lines (first one on pin12 second one on pin13)
The order of the pins are as such
12-19,0,2,3,4,5,21-23
I am working on one version where you could decided on which pin you want to plug it.

@chad_steinglass @Robin_Gerritsen here it is now you can also select your pins

I am new to the esp32 platform. I understand it has multiple cores. Regarding Running fastled.show on core 0 does this allow the esp32 to do this without having WiFi interrupt issues? I know the esp8266 had challenges with WiFi interrupts and pixels

@Chris_Rees exactly less artifacts. I am running esp8266 with WiFi Parallel output without too much issue (even if sometimes the WiFi server seems slow when you ask too cpu for funny stuff to display)
For esp8266 if you are using ws2812b you could define a new chipset library based on the ws2812b timing confit other than using the ones of the ws2811. It will run a bit slower but smoother.

@Chris_Rees I have some example code to run FastLED.show() on the other core on the ESP32. Let me know if you’d like to try it out.

@Sam_Guyer that sounds great. I need to pick up a esp32 and start tinkering after I get my teensy controller finished. But I am interested in how you specify the core.

I have managed to make it work, but after I have declared the ledstrips I can’t make any outgoing webrequests without crashing the esp32.
FastLED.addLeds<NEOPIXEL, DATA_HOURS>(leds_hours, NUM_HOURS);
Ɓfter this, my esp32 crashes when making an outgoing transmission, like an ntp request or http requests.

@Robin_Gerritsen try using FastLED.show instead of the Method that run on core 0. Can I see your code

@Yves_BAZIN https://pastebin.com/s9gBwwkp

When I put it before the addLeds it works, but after it crashes when I want to make an outgoing request…

@Robin_Gerritsen can I see the beginning of the code ?

Full code here… I want to make a huge digital clock… Which can be accessed from an webserver on the esp32 to change its color and other stuff. My main problem is the outgoing requests will cause the esp32 to crash when the addLeds function is passed. Only before these functions I can make outgoing requests…
Tried everything at first I thought the dual core function does not allow it, but when I put it on the same core, it is still happening…

https://pastebin.com/QSBquyQi

@Robin_Gerritsen like that I don’t see anything special. Which library are u using maybe try the fastled1.8 as your led intialization does not require any ā€˜pure’ parallel output.

I am currently using the official FastLED library… 3.1.6. Is there a way to switch to the other FastLED library without getting other sketches compromised by the other library

Have tried different libraries of the FastLED only none is actually working… Tried 3 different esp32 boards and everyone of them does exactly the same.

ets Jun 8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:956
load:0x40078000,len:0
load:0x40078000,len:13076
entry 0x40078ad0

I have managed to shrink the project, but when I want to add the leds it crashes at the first time it wants to make a request.

https://pastebin.com/cCkuYNAy