mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated NeoPixelBus object API (markdown)
@@ -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.
|
||||
|
Reference in New Issue
Block a user