Hooked in code to send sensor data to the display process