Hi everyone, I’m using this library for months now but I’m still scraping my head trying to understand better a couple of concepts concerning timings and interrupts:
A) I understand the problems calling the show() function when using led strips without a clock pin (as WS2811) and why we need to disable the interrupts, but that shouldn’t be needed with led strips such as APA102 that has a variable clock speed via the 4th pin.
So, is declaring the LED_TYPE enough to have my interrupts enabled again while using this variable clock speed strips? Are there other definitions/functions that could help me having my lovely interrupts back? (I read lots of discussions in the past but I can’t convice myself I understood how it works really)
B) Using lots of serial call and response for my projects to communicate with graphic softwares as Processing and Touchdesigner, what’s the best approach to update my pixel (aka where to put the show() function) without slowing (or blocking, if interrupts are disabled) the serial communication and millis() based timing functions?
Thank you in advance for the support, I really love these strips, but this fact of timing and interrupts makes me crazy during every project, maybe a better understanding of the total and using a better approach while programming, could make me a more productive and surely happy person. Have a nice evening,
Francesco
