Guest User

Untitled

a guest
Jun 25th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. pip install pyserial
  2.  
  3. import serial
  4. ser = serial.Serial(port='COM3', baudrate=1152000,
  5. parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE,
  6. bytesize=serial.EIGHTBITS, timeout=0.5)
  7.  
  8. AttributeError: module 'serial' has no attribute 'Serial'
Add Comment
Please, Sign In to add comment