I use the following command to send hexadecimal values to the serial port: [EMAIL PROTECTED] /root]111# printf \x20 > /dev/ttyUSB0 (sending 20 hexadecimal to the serial port)
Then I used this command for sending the hexadecimal value 30: [EMAIL PROTECTED] /root]111# printf \x30 > /dev/ttyUSB0 But the result is exactly the same as sending hexadecimal value 20. It seems that "printf" command from the shell is not interpreting correctly the "\xNN" option. See the man page for the correct description. I used the commands above on my Slackware computer and it is working well, as expected. How can we do to solve this problem ? Ciao, Giovanni ------------------------------------------------ Resources are limited, Imagination is unlimited. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed]
