Hello all
I am writing a software to communicate with a device via a serial port. I could send a single character of chr(0) - chr(127) and get the response from my device. But when sending chr(128), I got a communication error. It is the same for any character with the ascii code ranging from 128 to 255.
I use the following command:
serial.Output (Chr(Yag))
where Yag is a constant
I also checked the output string from my PPC using a RS232 terminal program. For chr(128) - chr(255), the string "?" was sent out from my PPC. This is not right.
How does Basic4PPC deal with chr(128) - chr(255) sent via a serial port? What is the workaround to send the string with the ascii code from 128 to 255?
Best regards,
Anat
I am writing a software to communicate with a device via a serial port. I could send a single character of chr(0) - chr(127) and get the response from my device. But when sending chr(128), I got a communication error. It is the same for any character with the ascii code ranging from 128 to 255.
I use the following command:
serial.Output (Chr(Yag))
where Yag is a constant
I also checked the output string from my PPC using a RS232 terminal program. For chr(128) - chr(255), the string "?" was sent out from my PPC. This is not right.
How does Basic4PPC deal with chr(128) - chr(255) sent via a serial port? What is the workaround to send the string with the ascii code from 128 to 255?
Best regards,
Anat
Last edited: