Is there a simple method to sync the data stream of pyserial serial connection with arduino? The simple piece of code I run gives weird values from time to time which I can