Merge pull request #411 from gauteh/pyserial_3_fix
should be setBaudrate not setBaudRate
This commit is contained in:
commit
c0fe818d85
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if args.caterina:
|
|||
ser.close()
|
||||
|
||||
if pyserial_version < 3:
|
||||
ser.setBaudRate (1200)
|
||||
ser.setBaudrate (1200)
|
||||
else:
|
||||
ser.baudrate = 1200
|
||||
|
||||
|
|
Loading…
Reference in a new issue