Sending chr(255) to serial port

  • Thread starter Thread starter ...
  • Start date Start date
?

...

Hi

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 ?

I'm using vb.net 2005 express with framework 2.0

Thanks for an answear ...

Mike
 
Not sure this will help as I am pretty new to this topic as well. But what is
the value of the serial port's DataBits property? The docs say the default
should be 8. But you never know...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top