Sends data from accelerometer to the network via udp