strange float question !
why 1-f =0.00
what lead to it ?
float r = 0, g = 0, b = 0;
int i = (int) fmod((p_hsb_h / 60), 6);
NRF_LOG_RAW_INFO("i= %d\r\n",i);
float f = (p_hsb_h / 60) - i;
float r = 0, g = 0, b = 0;
int i = (int) fmod((p_hsb_h / 60), 6);
NRF_LOG_RAW_INFO("i= %d\r\n",i);
float f = (p_hsb_h / 60) - i;