mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated NeoPixelBus object API (markdown)
@@ -17,7 +17,17 @@ This will define the object with the given Feature and Method, and construct it
|
||||
|
||||
> * _countPixels_ - The number of pixels on the physical bus. This is limited primarily by memory to contain a buffer for them.
|
||||
> * _pin_ - The output pin to use. Note that some platforms and Methods restrict the Pin and thus this constructor should not be used on them. On Esp8266 use the constructor that omits the pin.
|
||||
> * _channel_ - The channel number defined by the enum NeoBusChannel to use.
|
||||
> * _channel_ - The channel number defined by the enum [NeoBusChannel](## "enum NeoBusChannel {
|
||||
NeoBusChannel_0,
|
||||
NeoBusChannel_1,
|
||||
NeoBusChannel_2,
|
||||
NeoBusChannel_3,
|
||||
NeoBusChannel_3,
|
||||
NeoBusChannel_4,
|
||||
NeoBusChannel_5,
|
||||
NeoBusChannel_6,
|
||||
NeoBusChannel_7
|
||||
}") to use.
|
||||
|
||||
### NeoPixelBus\<T_COLOR_FEATURE, T_METHOD\>(uint16_t countPixels)
|
||||
This will define the object with the given Feature and Method, and construct it to handle the countPixels using a hardware defined pin.
|
||||
|
Reference in New Issue
Block a user