Closed thomasw-mitutoyo-ctl closed 5 years ago
"--interface spi".encode("ascii")
seems to be a workaround for the Unicode issue (although I still can't get SPI to work).
@thomasw-mitutoyo-ctl it expects an array:
parser.parse_args(['--foo', '--bar'])
If I try to run
it gives
which looks like it has problems reading the additional 0x00 characters of the Unicode string.