Conditions | 1 |
Total Lines | 11 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
16 | def __init__(self, port, *args, **kwargs): |
||
17 | """ |
||
18 | Serial port interface requires port string to establish connection, e.g. 'COM1' for |
||
19 | windows operating systems. |
||
20 | |||
21 | Parameters |
||
22 | ---------- |
||
23 | port: Serial port string. |
||
24 | """ |
||
25 | self._port = Serial(port=port, baudrate=250000, bytesize=8, stopbits=2) |
||
26 | super().__init__(*args, **kwargs) |
||
27 | |||
38 |