should be setBaudrate not setBaudRate
This commit is contained in:
parent
745b520dd6
commit
03f5852f2d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if args.caterina:
|
||||||
ser.close()
|
ser.close()
|
||||||
|
|
||||||
if pyserial_version < 3:
|
if pyserial_version < 3:
|
||||||
ser.setBaudRate (1200)
|
ser.setBaudrate (1200)
|
||||||
else:
|
else:
|
||||||
ser.baudrate = 1200
|
ser.baudrate = 1200
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue