Add the function for mapping a light color intensity against the position of a LED.