Gave light sensor 3 modes and made output analog