i think the link i posted is simpler
because the CPU will have 3 variable.
the sensor has a red/blue/green led
and a red/blue/green variable
but one reciver.
when the blue led is lit, the ldr's reeding is added to Var blue,
when the Green led is lit, the ldr's reeding is added to Var green...