I added the light sensor from my sensor board simulator to this sensor board example project. You should try using my simulator to do stuff like this with my simulator.