Shop OBEX P1 Docs P2 Docs Learn Events
Using Parallax serial terminal — Parallax Forums

Using Parallax serial terminal

RobertDRobertD Posts: 1
edited 2013-08-05 14:15 in General Discussion
Is there a simple way to send a non printable character out the USB port using the "Parallax serial Terminal" program. I am speaking about sending a character such as AA Hex.

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-08-05 08:45
    Since there are so many terminal programs out there, I've not gotten around to using Parallax's serial terminal.

    Most have a hexadecimal mode for sending that is created by using a special prefix.. an ESC sequence. I suspect you may have to read VT100 documents for these.

    http://en.wikipedia.org/wiki/VT100

    If you want a serial terminal program that can do just about anything you might dream up, use Real Term. It is not so much a serial terminal communications application and a serial interface bench tool.

    http://realterm.sourceforge.net/
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-08-05 08:46
    Yes, use the "Char" method.
    Pst.Char($AA)
    

    Edit: I assume you are using some other program to receive the character on the PC side. "Parallax Serial Terminal.exe" uses several non printable characters for formatting but you'd need to use the "Hex" method in "Parallax Serial Terminal.spin" to display the hexadecimal value of the non printable character in "Parallax Serial Terminal.exe".
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-08-05 11:58
    I am still wondering if the OP meant the serial terminal object in SPIN or the Parallax Serial Terminal application in Windows. One could read his posting both ways.

    I guess I will never know.... but it would be nice if Parallax clarified if their application in Windows was a VT100 emulation or something else.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-08-05 14:03
    The author of the PST WIndows application tells me that you cannot send non-printable characters. I'm with Loopy...use Real Term for non-standard stuff like that. ;)
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-08-05 14:15
    I am still wondering if the OP meant the serial terminal object in SPIN or the Parallax Serial Terminal application in Windows. One could read his posting both ways.

    Your right. It's not clear. Reading it again makes be think you had the correct interpretation.
Sign In or Register to comment.