SerialDevice¶
- class bpod_core.com.SerialDevice ¶
Bases:
AbstractContextManagerClass that interfaces with a USB serial device.
- close() ¶
Close the serial connection.
If the connection is already closed, this method does nothing.
- Raises:
serial.SerialException – If the connection cannot be closed.
- Return type:
- open() ¶
Open the serial connection.
If the connection is already open, this method does nothing.
- Raises:
serial.SerialException – If the connection cannot be opened.
- Return type: