#This scripyt is used to test module LightIntensity.
import py

#Import light intensity needed module 
import LightIntensity
import time



@@ -130,10 +130,105 @@
 rt time%0A
-%0A
+ %0Aif __name__=='__main__':%0A  while True:%0A    print(LightIntensity.readLight())%0A    time.sleep(2)
 %0A

Update light_intensity.py