EA FAQ

Wrong character when using RS-232 (Arduino)

Question:

This is my setup: I've an Arduino connected to the serial slave interface of your nice EA uniTFT-Module. The module displays some data, that I send from the Arduino. I want to show temperature, that means I need to display °. Unfortunately, it is not displayed using command "#SSC 1, \"32.5 °C\"\n".

 

Answer:

Arduino library uses UTF-8 Encoding for the extended ASCII charset. There are several ways around the issue. The easiest is using the ASCII hex-code directly: "#SSC 1, \"32.5 \"$B0 \"C\"\n".

 

 

« C O N T A C T

SERVICE-HOTLINE

North America 651.777.7454

12 Long Lake Road
Mahtomedi, MN 55115

x