I have a program working, to send a single charactor out the serial port under QBASIC. I send the charactor, then wait, then if no response is found in the rx buffer, I send again, max of three tries, then onto next charactor.
My loop is simply "for adres = 1 to 10"
then the variable adres is used as :
"print #1,adres"
Im using this to output a address for a microchip polling project.
My question is simply this : when I do the above loop and Print # 1 function, what is the format of that variable? Is is ASCII, hex, binary or what???? My guess is ASCII, and that would be 7 bits, and the port is setup for 9600, 8 bits, no parity, and 1 stop bit.
Anyone been into this before??
Randy McKenzie
My loop is simply "for adres = 1 to 10"
then the variable adres is used as :
"print #1,adres"
Im using this to output a address for a microchip polling project.
My question is simply this : when I do the above loop and Print # 1 function, what is the format of that variable? Is is ASCII, hex, binary or what???? My guess is ASCII, and that would be 7 bits, and the port is setup for 9600, 8 bits, no parity, and 1 stop bit.
Anyone been into this before??
Randy McKenzie