cnguyen
31st May 2012, 20:58
I am trying to send an int variable X though the serial port using qextserialport.
After setting up and port initialization I use
int x = 1;
port->open(QIDevice::ReadWrite);
port->write(x);
but I am not receiving anything on the other end. What am I missing? Program compiles and run fine. The baud rate settings all match.
After setting up and port initialization I use
int x = 1;
port->open(QIDevice::ReadWrite);
port->write(x);
but I am not receiving anything on the other end. What am I missing? Program compiles and run fine. The baud rate settings all match.