Updated ESP8266 NeoMethods (markdown)

Michael Miller
2018-12-20 11:20:24 -08:00
parent c0ee44f699
commit 99b803a354

@@ -48,8 +48,10 @@ Use this instead of Neo400KbpsMethod to force your sketch to use the Uart to sen
Same as NeoEsp8266Uart800KbpsMethod but using a longer delay as required by this chips.
## NeoEsp8266AsyncUart800KbpsMethod
Use this instead of Neo800KbpsMethod to force your sketch to use the Uart to send data asynchronously.
NeoEsp8266AsyncUart800KbpsMethod only supports the TXD1/GPIO2 pin. The Pin argument is omitted.
**WARNING:** With this method, Serial and Serial1 can not be used due to the ISR is not shareable.
**CAUTION:** With this method the `Pixels()` method will return alternating pointers after each call to `Show()`; so the pointer returned should not be cached or retained between calls of `Show()`.
NOTE: Due to the varied board layouts for Esp8266, even though the pin maybe exposed, it may not be usable due to some custom feature on the board you use. If you find it not working, you should review the hardware schematic of your board and confirm the pin is not used for other purposes that interferes with it being used for NeoPixelBus.
@@ -60,9 +62,6 @@ If memory is an issue for your project, see the NeoEsp8266Uart800KbpsMethod abov
_Thanks to unaiur for providing the implementation._
Due to using the TXD1/GPIO2 pin, the Serial1 object can not be used with the method and must be avoided. The primary serial object "Serial" is available for both read and write.
Use this instead of Neo800KbpsMethod to force your sketch to use the Uart to send data asynchronously.
## NeoEsp8266AsyncUart400KbpsMethod
Same as NeoEsp8266AsyncUart800KbpsMethod but running at the older and slower data rate.