arduinoserial-portbyteteraterm

How to send a non-character byte through terminal program


I would like to know if there is a way to send a non-character byte through a terminal emulator. Bytes with values from 0 to 127 are (mostly) represented by characters on a keyboard (example: a, b,c...A,B,C.. 1,2,3..!,@,#..). But how can I type and send something that corresponds to a byte with value 137 for instance? I would like to send these types of "non-characters" over a serial connection to an arduino using a terminal program. I am currently using teraterm, but other terminal emulators might be fine too. BTW, the arduino code for receiving these bytes is working fine.


Solution

  • You can use send the character that you want by using the Alt key. Alt+137 will display the character ë. If you send that, the arduino will receive the appropriate byte.