mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated Rgb48Color object API (markdown)
@@ -7,6 +7,19 @@ uint16_t R;
|
||||
uint16_t G;
|
||||
uint16_t B;
|
||||
```
|
||||
|
||||
There are also a few constant properties that are helpful to use. These are..
|
||||
#### Max
|
||||
The highest value for a single color element.
|
||||
```
|
||||
const static uint16_t Max = 65535;
|
||||
```
|
||||
#### Count
|
||||
The number of color elements. Useful when accessing the elements using the [] operators.
|
||||
```
|
||||
const static size_t Count = 3;
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
### Rgb48Color(uint16_t r, uint16_t g, uint16_t b) :
|
||||
|
Reference in New Issue
Block a user