Code to get all the data through serial port

Dependents:   payload_sensor payload_sensor