Apr-28-2024, 08:37 AM
hello,
I am trying to send out a binary code with the UART.
with a hexadecimal code it works:
e.g. 00001111
thank you.
I am trying to send out a binary code with the UART.
with a hexadecimal code it works:
command = b'\x80' scanner_uart.write(command)but how can I send out a binary code?
e.g. 00001111
thank you.