Details
|
pi@raspberrypi $ ls /dev/ttty*
ser.write
function this time. It simply writes one byte of data to Arduino each time. What is a bit tricky is that the function accepts data types in bytes only. If you want to write a string or integer, you must encode it first.