Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Kuns

  1. Kuns

    Reading from serial port returns ASCII code of character received

    Hi Salem, Thanks to your two suggestions I now am sure that the problem is the one you evoke: using string+= invokes the 'toString' conversion and gives me the ASCII code of the character. I cannot yet find the solution: - "Maybe make buffer a regular char rather than an unsigned char." I...
  2. Kuns

    Reading from serial port returns ASCII code of character received

    Note: I use Visual C++ 2005 I would like to read the received character from the serial port (e.g. 'a', 'b', ...). Instead I get the ASCII code of the character I received (97, 98, ...). Here's the code I use: //defining the serial port System::IO::Ports::SerialPort^ mySerialPort; ... //in...

Part and Inventory Search

Back
Top