Bit of code that switched between two servo postions depending on the value of a brightness sensor.