Results 1 to 6 of 6

Thread: send hex or ascii or int value through serial port

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default send hex or ascii or int value through serial port

    I have been able to write serial port. I need to get integer value from line edit, then send the value through serial port.
    Qt Code:
    1. unsigned char c = ui->lineEdit->text().toInt();
    To copy to clipboard, switch view to plain text mode 

    How can i send all 255 ascii values through serial port?
    Last edited by omegaKnot; 27th May 2011 at 08:51. Reason: spelling corrections

Similar Threads

  1. send binary file over serial port with QSerialDevice
    By ilpaso in forum Qt Programming
    Replies: 30
    Last Post: 13th December 2010, 12:08
  2. serial port communiction
    By jagadish in forum Qt Programming
    Replies: 1
    Last Post: 7th July 2007, 11:52
  3. Serial Port
    By b1 in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2007, 02:05
  4. Serial Port access in Qt
    By Doug Broadwell in forum Newbie
    Replies: 1
    Last Post: 30th November 2006, 09:45
  5. Serial Port access in Qt
    By Doug Broadwell in forum Newbie
    Replies: 2
    Last Post: 18th October 2006, 21:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.