example usage of light sensor