Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pip install pyserial
- import serial
- ser = serial.Serial(port='COM3', baudrate=1152000,
- parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE,
- bytesize=serial.EIGHTBITS, timeout=0.5)
- AttributeError: module 'serial' has no attribute 'Serial'
Add Comment
Please, Sign In to add comment