so, This is my version of a weather clock… I am defining the color of the illumination of different sub-segments of the LEDs like this:
struct colorObject{
uint8_t red;
uint8_t green;
uint8_t blue;
};
const colorObject briteWhite = {255,255,255};
const colorObject skyBlue = {50,50,255};
const colorObject allRed = {0,255,0};
const colorObject allBlue = {0,0,255};
const colorObject yellowSun = {255,255,30};
const colorObject greenGrass = {255,0,0};
const colorObject dullGray = {125,125,125};
//...
colorObject timeColor = briteWhite;
colorObject mailColor = briteWhite;
colorObject weatherColor = allBlue;
looks like this video: