diff --git a/FAQ-#7.md b/FAQ-#7.md index 11f6d86..8bcaa4a 100644 --- a/FAQ-#7.md +++ b/FAQ-#7.md @@ -10,12 +10,15 @@ RGB buffer size in bytes = number of pixels * 3 RGBW buffer size in bytes = number of pixels * 4 ``` -The second factor is what "method" is used to send the data. For most AVR platforms the method used is similar and requires only a few extra bytes beyond what was listed above to manage the buffer. But there is one current exception today. +The second factor is what "method" is used to send the data. For most AVR platforms the method used is similar and requires only a few extra bytes beyond what was listed above to manage the buffer. But there are several non-AVR that will incur more memory usage. -The NeoEsp8266Dma800KbpsMethod. This is the default method for Esp8266. You can find more information on this method in the [NeoPixelBus object page](https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object). This "method" not only requires the above buffer, but it also requires a DMA buffer for the hardware to use. This DMA buffer requires four bytes per byte used from the primary buffer. +#### I2S and DMA: +The NeoEsp32I2s1Ws2812xMethods and similar. This is the default method for ESP32. +The NeoEsp8266DmaWs2812xMethod and similar. This is the default method for Esp8266. +You can find more information on these methods in the [NeoPixelBus object page](https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object). These "method"s not only requires the above buffer, but it also requires a DMA buffer for the hardware to use. This DMA buffer requires four bytes per byte used from the primary buffer. ``` DMA RGB buffer size in bytes = number of pixels * 3 * 4 DMA RGBW buffer size in bytes = number of pixels * 4 * 4 ``` -For esp8266, this equates to approximately 3000 pixels for RGB, and 2250 pixels for RGBW; as long as you don't have anything else that requires much more memory. But this method comes with the benefit in that it doesn't take much of the CPU to send the data like all the other methods; so you can then use the freed CPU cycles to do other important tasks. +This equates to approximately 3000 pixels for RGB, and 2250 pixels for RGBW; as long as you don't have anything else that requires much more memory. But this method comes with the benefit in that it doesn't take much of the CPU to send the data like all the other methods; so you can then use the freed CPU cycles to do other important tasks.