Bit of code that allows you to set a servo to two positions depending on the value of a (tinkerkit) brightness sensor.