Setvirtualresolution(640,480) ResetTimer() SetPrintSize(30) Repeat If GetLightSensorExists()=1 Print("Light Sensor Device Exists") Else Print("Not Found") EndIf Sync() Until Timer()>12 End