changed the serial port to send data only every 1s