mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated NeoPixelBus object (markdown)
@@ -1,6 +1,6 @@
|
|||||||
(work in progress)
|
(work in progress)
|
||||||
|
|
||||||
This object will be used to set colors on the pixels. When constructed a "feature" and a "method" object must be supplied to define which pixels you are using and how they are updated.
|
This object will be used to set colors on the pixels. When constructed, a "feature" and a "method" object must be supplied to define which pixels you are using and how they are updated.
|
||||||
```
|
```
|
||||||
NeoPixelBus<FEATURE, METHOD> strip(pixelCount, pixelPin);
|
NeoPixelBus<FEATURE, METHOD> strip(pixelCount, pixelPin);
|
||||||
```
|
```
|
||||||
@@ -8,7 +8,7 @@ Below is an example to create one for the AVR platform. It will manage 16 pixel
|
|||||||
```
|
```
|
||||||
NeoPixelBus<NeoGrbFeature, NeoAvr800KbpsMethod> strip(16, 2);
|
NeoPixelBus<NeoGrbFeature, NeoAvr800KbpsMethod> strip(16, 2);
|
||||||
```
|
```
|
||||||
And this one will create on that is compatible with an ESP-01. It will manage 32 pixels, but due to the method being hardware limited the pin value passed in is ignored.
|
And this will create one that is compatible with an ESP-01. It will manage 32 pixels, but due to the method being hardware limited, the pin value passed in is ignored.
|
||||||
```
|
```
|
||||||
NeoPixelBus<NeoGrbFeature, NeoEsp8266Uart800KbpsMethod> strip(32, 2);
|
NeoPixelBus<NeoGrbFeature, NeoEsp8266Uart800KbpsMethod> strip(32, 2);
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user