Closed gtlv97dot6 closed 3 years ago
In micropython, a UART.read() timing out returns 'None'. Raising a RuntimeError with a meaningful message seems to be better than getting an exception when attempting to get the len() of a None type.
That makes sense. Thanks for the contribution!
In micropython, a UART.read() timing out returns 'None'. Raising a RuntimeError with a meaningful message seems to be better than getting an exception when attempting to get the len() of a None type.