added light sensor test program