A sketch for changing the colour of an RGB LED depending on sensor values from basic photo resistors