Debugging Sensor.c again