Sensor platform code