Hi Chris
I'm using "Classic" writing to the port ... something like
Comm.write (chr(255) + chr(30) + ...)
I installed a Comm Spy program to capture everything that flows across the
serial port. The machine doesn't work as it was supposed, so I decided to
"listen" to the stream and noticed that.
I'm not using any encoding. I supposed there was no need for it ... :|
Thanx
Mike
-----------------------
"Chris Dunaway" <du******@gmail.comescreveu na mensagem
news:11**********************@i42g2000cwa.googlegr oups.com...
... wrote:
>I need to send a chr(255) to a serial port. When I send it, through
comm.write (chr(255)) it sends a chr(63) ... in Hex, I write chr(&FF) and
it
actually sends chr(&3F) ... why does this happen, and how can I send it
right ?
How are you verifiying what is being sent? Can you show some code you
are using that demonstrates the problem? What encoding are you using?