Create sensor.c

file head description