While the float versions of this function work wonderfully on PCs, theĀ  PIC12F, not so much. Without a math coprocessor or FPU, additional libraries are loaded to handle the floats. This function is a port of the float function which …

HSL To RGB for PIC Microcontrollers – and others Read more »