|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sending chr(255) to serial portHi
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... .... wrote: Show quote > 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 > > |
|||||||||||||||||||||||