You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_serial() inside bitio/__init__.py uses s.databits as a configuration property.
pyserial has no missing attribute protection in it's class, so this just sets an attribute on the class that is never used internally.
pyserial uses bytesize internally, and this defaults to 8 bits (which is what we assume, and what the majority of all UART configurations use these days). micro:bit also always uses 8 bits.
However, for completeness, this should be fixed.
s.databits = serial.EIGHTBITS
should be:
s.bytesize = serial.EIGHTBITS
The text was updated successfully, but these errors were encountered:
The get_serial() inside
bitio/__init__.py
uses s.databits as a configuration property.pyserial has no missing attribute protection in it's class, so this just sets an attribute on the class that is never used internally.
pyserial uses bytesize internally, and this defaults to 8 bits (which is what we assume, and what the majority of all UART configurations use these days). micro:bit also always uses 8 bits.
However, for completeness, this should be fixed.
should be:
The text was updated successfully, but these errors were encountered: