this is the working code for the xdot to read in serial from the pi and send it over LoRa