Do you have the specs that the item you are talking to requires. Then you can look and see what the command terminator is and send that. Also you will have to convert to Hex Coded Ascii more then likely.
Hi MTSkull,
Thank for reply,
I want to send value 0xFF in hex but when I convert in Ascii I have a problem beacuse it takes a value equal to null and the program cant work.
maxpic55
0xFF is the last char on the Ascii chart, Null is 0x00. If this is the stop char then you should not need to read it into ascii. Just find it so you know to stop reading the line, but do not convert it because it is not supposed to be a real character just the Stop Flag.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.