mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated Neo Features (markdown)
@@ -1,27 +1,78 @@
|
||||
Below you will find the list of Neo Features. They should only be used with Neo Methods. While an attempt has been made to keep this list up to date, new features may not be listed.
|
||||
|
||||
## NeoGrbFeature
|
||||
A three element color in the order of Green, Red, and then Blue. The most common three element format. This is used for SK6812(grb), WS2811, and WS2812.
|
||||
A three-element color in the order of Green, Red, and then Blue. The most common three element format. This is used for SK6812(grb), WS2811, and WS2812.
|
||||
|
||||
## NeoGrbwFeature
|
||||
A four element color in the order of Green, Red, Blue, and then White. A common four element format. This is used for SK6812rgbw pixels that have the separate white led in them.
|
||||
A four-element color in the order of Green, Red, Blue, and then White. A common four element format. This is used for SK6812rgbw pixels that have the separate white led in them.
|
||||
|
||||
## NeoGrb48Feature & NeoGrbWs2816Feature
|
||||
A three-element color in the order of Green, Red, and then Blue; where the color elements are 16 bit and the total color is 48 bits. This is used for the WS2816.
|
||||
|
||||
## NeoRgbFeature
|
||||
A three element color in the order of Red, Green, and then Blue. Some older pixels used this. Also used by pixels that come in a traditional LED shape rather than the surface mount chip we often see today.
|
||||
A three-element color in the order of Red, Green, and then Blue. Some older pixels used this. Also used by pixels that come in a traditional LED shape rather than the surface mount chip we often see today.
|
||||
|
||||
## NeoRgbwFeature
|
||||
A four element color in the order of Red, Green, Blue, and then White. A common four element format.
|
||||
A four-element color in the order of Red, Green, Blue, and then White. A common four element format.
|
||||
|
||||
## NeoRgb48Feature & NeoRgbUcs8903Feature
|
||||
A three-element color in the order of Red, Green, and then Blue; where the color elements are 16 bit and the total color is 48 bits. This is used for the UCS8903.
|
||||
|
||||
## NeoRgbw64Feature & NeoRgbwUcs8904Feature
|
||||
A four-element color in the order of Red, Green, Blue, and then White; where the color elements are 16 bit and the total color is 64 bits. This is used for the UCS8904.
|
||||
|
||||
## NeoBrgFeature
|
||||
A three element color in the order of Blue, Red, and then Green.
|
||||
A three-element color in the order of Blue, Red, and then Green.
|
||||
|
||||
## NeoBgrFeature
|
||||
A three-element color in the order of Blue, Green, and then Red.
|
||||
|
||||
## NeoRbgFeature
|
||||
A three element color in the order of Red, Blue, and then Green.
|
||||
A three-element color in the order of Red, Blue, and then Green.
|
||||
|
||||
## NeoWrgbTm1814Feature
|
||||
These is only used with Tm1814 methods.
|
||||
A four-element color in the order of White, Red, Green, and then Blue.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The values are in 1/10th milliamps and should be updated to the rating of your LEDs.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The arguments are in 1/10th milliamps and should be updated to the rating of your LEDs.
|
||||
```
|
||||
strip.SetPixelSettings(NeoTm1814Settings(165,165,165,165));
|
||||
strip.SetPixelSettings(NeoTm1814Settings(165,165,165,165)); // 16.5mA
|
||||
```
|
||||
|
||||
## NeoRgbTm1914Feature
|
||||
This is only used with Tm1914 methods.
|
||||
A three-element color in the order of Red, Green, and then Blue.
|
||||
This will require that you apply settings that define the input mode of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The argument is the mode the input should use as defined by the enum NeoTm1914_Mode.
|
||||
```
|
||||
strip.SetPixelSettings(NeoTm1914Settings(NeoTm1914_Mode_DinOnly));
|
||||
```
|
||||
|
||||
## NeoRgbSm16803pbColorFeature
|
||||
A three-element color in the order of Red, Green, and then Blue.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The arguments are indexes into a table of in 1/10th milliamps and should be updated to match the rating of your LEDs.
|
||||
[1.8ma, 3.0ma, 4.1ma, 5.3ma, 6.4ma, 7.6ma, 8.7ma, 9.9ma, 11.0ma, 13.3ma, 14.5ma, 15.6ma, 16.8ma, 17.9ma, 19.0ma]
|
||||
```
|
||||
strip.SetPixelSettings(NeoSm16803pbSettings(12,12,12)); // 16.8ma
|
||||
```
|
||||
## NeoRgbwSm16804ebColorFeature
|
||||
A four-element color in the order of Red, Green, Blue, and then White.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The arguments are indexes into a table of in 1/10th milliamps and should be updated to match the rating of your LEDs.
|
||||
[1.8ma, 3.0ma, 4.1ma, 5.3ma, 6.4ma, 7.6ma, 8.7ma, 9.9ma, 11.0ma, 13.3ma, 14.5ma, 15.6ma, 16.8ma, 17.9ma, 19.0ma]
|
||||
```
|
||||
strip.SetPixelSettings(NeoSm16804ebSettings(12,12,12,12)); // 16.8ma
|
||||
```
|
||||
|
||||
## NeoRgbSm16823eColorFeature
|
||||
A three-element color in the order of Red, Green, and then Blue.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The arguments are indexes into an equation to calculate milliamps and the resistor in ohms used. The actual values should be updated to match the rating of your LEDs.
|
||||
_mA = (967 * (240 + (gain * 32)) / ohms)_
|
||||
```
|
||||
strip.SetPixelSettings(NeoSm16823eSettings(/* left to user due to complexity */ ));
|
||||
```
|
||||
|
||||
## NeoRgbwSm16824eColorFeature
|
||||
A four-element color in the order of Red, Green, Blue, and then White.
|
||||
This will require that you apply settings that define the power usage of your LEDs. You can set this after calling `Begin()` by using the following code snippit. The arguments are indexes into an equation to calculate milliamps and the resistor in ohms used. The actual values should be updated to match the rating of your LEDs.
|
||||
_mA = (1100 * (240 + (gain * 32)) / ohms)_
|
||||
```
|
||||
strip.SetPixelSettings(NeoSm16824eSettings(/* left to user due to complexity */ ));
|
||||
```
|
Reference in New Issue
Block a user