📅  最后修改于: 2022-03-11 14:52:02.184000             🧑  作者: Mango
void rainbow_loop() { //2
idex++;
ihue = ihue + 10;
if (idex >= LED_COUNT/LED_FIZLINE) {
idex = 0;
}
if (ihue > 255) {
ihue = 0;
}
hsv_to_rgb(ihue*100, thissat, 255, leds[idex]);
LEDSshow();
}