ESP32 & ESP8266 I2S timing changes saves memory #828
Makuna
started this conversation in
Announcements
Replies: 3 comments 3 replies
-
If you want to use the original cadence, just put this define in before you include NeoPixelBus.h
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you explain in layman's terms what are the caveats? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#827
The encoding for the DMA buffer has changed from 4 step cadence to a 3 step cadence by default. So, from 25%/75% to 33%66% pulse to represent 1s and 0s. This saves 25% of the DMA memory.
On ESP32 this is with x1, x8, and x16 channel methods.
On ESP8266 it's just the default I2S (DMA) method that was upgraded. UART methods can't support it.
There is support to select either set, but on single hardware peripheral it can only support either one or the other.
Beta Was this translation helpful? Give feedback.
All reactions