Create sensor.c