How to use the serail library to send a command to an USB device
in
Core Library Questions
•
1 year ago
Hi,
I want to command a device using usb serail message.
Message should be send in this format :
$CMD,tttt,cc
here an example in Python : device
.write('$CMD,01C2,01')
But when I try on processing :
myPort.write('$CMD,01C2,01\n');
I got a "Badly formed character constant" message
Any ideas???
1