for(int16_t i = 0; i < 255*10; i+=2)
{
HAL_Delay(1);
ws2812_data_set(i/255, i%255, 0, 0);
ws2812_updata();
}
for(int16_t i = 255*10; i > 0 ; i-=2)