Skip to content

Commit 975fadb

Browse files
committed
ThorlabsFilterWheel: add default values for baudrate and timeout (issue #94)
1 parent 4ac0ccf commit 975fadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microscope/filterwheels/thorlabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ThorlabsFilterWheel(FilterWheelBase):
3030
3131
Note that the FW102C also has manual controls on the device, so clients
3232
should periodically query the current wheel position."""
33-
def __init__(self, com, baud, timeout, **kwargs):
33+
def __init__(self, com, baud=115200, timeout=2.0, **kwargs):
3434
"""Create ThorlabsFilterWheel
3535
3636
:param com: COM port

0 commit comments

Comments
 (0)