0

I need to write a program in Quickbasic that will send hex in 1 byte format over the serial port. They have a plasma display where my dad works, and since my dad hasn't coded in basic for years, he commissioned me to do it, but I have no experience in Hex. So basically, I just have to send 1 byte hex numbers over the serial port to control the display. Any help?

2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by Buff
0

I need to write a program in Quickbasic that will send hex in 1 byte format over the serial port. They have a plasma display where my dad works, and since my dad hasn't coded in basic for years, he commissioned me to do it, but I have no experience in Hex. So basically, I just have to send 1 byte hex numbers over the serial port to control the display. Any help?

If you send a character, it doesnt matter whether it's hex or not.

Hex is just another numbering system. It can make a difference when sending
large numbers (like 8 bytes of information or so).
but,
Esc for example (escape) is 27 decimal, 1b hex but it's the same character.
either way and the same value either way.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.