Hi,
I just want to send over the serial port a variable (byte).
Only examples I find is with the packing function.
Is it not possible to have something like this?
value=95
uart.write(value)
Hi,
I just want to send over the serial port a variable (byte).
Only examples I find is with the packing function.
Is it not possible to have something like this?
value=95
uart.write(value)
That works. It will send just one byte. The uart accepts either bytes or a byte array.