I am using PowerBasic Console Compiler5 to receive some data from a serial port. The data is actually a set of 8 bits, each of which represents a bit of hardware data. Apparently PowerBasic can only receive data from a serial port as a character. The debugger shows the value of a typical character as "<03>". I am trying to decode the character to obtain the original bits. I have tried VAL and I have tried parsing the character using a MID statement, but no joy.
Does anyone know how I can obtain the original bit data?
Does anyone know how I can obtain the original bit data?
Comment