We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I apologize for the ignorance. I have a function
void Color_send(uint8_t (*color)[3], uint16_t len)
The function have as parameter for RGB of ligth any as uint8_t light[100][3];
Solve the problem of how to be able to, when you write a program using predefined values of color. Any as
#define RED {255, 0, 0} #define GREEN {0, 255, 0} #define BLUE {0, 255, 0} ... Color_send( RED, 1); Color_send( GREEN, 1);
But not this works, advice on how to solve the problem?