|
communication via serial port
I am using a routine to perform a serial communication via serial port of my computer. It has been working fine till now. I can send character strings to listener. So I can easily assign integer values to those characters.Lets say I have a string defined as char str[3] and str[0]=123 str[1]=3 str[2]=9 assigned values. When I send this string the integer values respectively 123,3,9 can be sent. But when I try to assign sfor example str[2]=0, the value noesn't pass. What can I do be able to send 0 (zero)....
|