You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the rgb_color structure could be renamed to something like rgbi_color where it could contain an intensity/brightness value for each LED or have the rgb_leds_write() take an array of uint8_t values for brightnesses instead of a single value.
typedefstructrgb_color {
/// The value of the red component, from 0 to 255.uint8_tred;
/// The value of the green component, from 0 to 255.uint8_tgreen;
/// The value of the blue component, from 0 to 255.uint8_tblue;
/// The value of the brightness component, from 0 to 31.
} rgbi_color;
voidrgb_leds_write(rgbi_color*colors, uint32_tcount);
Maybe the
rgb_color
structure could be renamed to something likergbi_color
where it could contain an intensity/brightness value for each LED or have thergb_leds_write()
take an array of uint8_t values for brightnesses instead of a single value.-OR-
The text was updated successfully, but these errors were encountered: