Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Pixel Union Reference
Struct for easy manipulation of RGB colors. More...
#include <neopixel.h>
Public Member Functions | |
| struct | __attribute__ ((packed)) |
| Struct for access to individual color components. | |
Data Fields | |
| uint32_t | hex |
| RGB color as a single uint32_t. | |
Detailed Description
Struct for easy manipulation of RGB colors.
Set components in the xrgb.r (etc.) and you will get the hex in xrgb.num.
Definition at line 49 of file neopixel.h.
Member Function Documentation
| struct __attribute__ | ( | (packed) | ) | [read] |
Struct for access to individual color components.
Definition at line 51 of file neopixel.h.
Field Documentation
| uint32_t hex |
RGB color as a single uint32_t.
Definition at line 56 of file neopixel.h.
Generated on Sat Oct 15 2022 07:52:33 by
1.7.2