Update exampleSerial.py

bug detected