Light sensor program