sensor.c