So I\'m doing a bit of work with an LED on a RPi and have ran into an issue with the following
while(x < range): s = float(sensor.get_object_1())