Updated NeoPixelBus object API (markdown)

Michael Miller
2019-02-05 15:52:43 -08:00
parent 24b2a595d8
commit 94b31d1f9b

@@ -18,7 +18,15 @@ This will define the object with the given Feature and Method, and construct it
# Methods
### void Begin()
This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup().
This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup().
### void Begin(int8_t sck, int8_t miso, int8_t mosi, int8_t ss)
This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup().
This is used with DotStars only using the `DotStartSpiMethod` only. Defining the pins here due to the SPI also needing the pins on its `begin`.
> * _sck_ - The clock output pin to use.
> * _miso_ - required by SPI, but not directly used
> * _mosi_ - The data output pin to use.
> * _ss_ - required by SPI, but not directly used
### void Show()
This will try to send the pixel information to the physical pixels. If there has been no change since the last time it was called, nothing will be sent.