mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-06 20:34:27 +02:00
Updated Rgbw64Color object API (markdown)
@@ -141,4 +141,8 @@ This will blend between four colors by the amount defined by 2d weighting values
|
||||
The index operator allows accessing the R, G, B, and W properties using an index. There are both read only and read write versions.
|
||||
```
|
||||
uint16_t white = color[3];
|
||||
```
|
||||
You can also use the color index constants.
|
||||
```
|
||||
uint16_t white = color[ColorIndexW];
|
||||
```
|
Reference in New Issue
Block a user