let R = [];
function get_sum(s, ind, condidats){
if (ind >= CIRCLES.length) {
if (s == 136) {
R = [...condidats];
}
}
else {
for (let i in CIRCLES[ind] ){
condidats[ind] = i;
get_sum(s+i, ind+1, condidats);
}
}
}
for (let i in CIRCLES[0]) {
s = get_sum(i, 1, i*(CIRCLES.length));
}
void startSecondAnimation(){
unsigned int i,j;
unsigned int n[10][3] = {
{100,10,200},
{200,10,60},
{20,10,240},
{100,240,200},
{100,10,200},
{10,10,240},
{10,240,240},
{150,240,30},
{1,10,200},
{240,10,240},
};
for (j = 0; j < 10; j++){
for(i = 0; i < LED_COUNT; i++)
{
rgb_color rgb;
rgb.red = n[j][0];
rgb.green = n[j][1];
rgb.blue = n[j][2];
colors[i] = rgb;
}
writeScreen(colors, LED_COUNT);
delay_ms(150);
}
}
void startFistAnimation(){