Good Evening -
Not sure if this is the right place to pose this question but I'm writing the APU EGT value to an HD44780 LCD display using Air Manager with the Arduino. I'm able to get the temp displayed but I want to concatenate the "°C" after the temp. For some reason, the "°" symbol gives me a weird display that looks nothing like "°".
Does Air Manager support extended symbols or am I missing the secret handshake to get this thing to display the degree symbol?
Thanks for any help.
Scott
Getting the HD44780 to display the degree symbol
-
- Posts: 6
- Joined: Sat Sep 26, 2020 1:38 am
Re: Getting the HD44780 to display the degree symbol
I can’t recall off the top of my head if the degree symbol is included in the standard list of ASCII characters and symbols that the HD44780 displays out the box. You can add custom characters though. Search the net for a list of base characters and if needed for programming examples for how to upload and use your own custom ones. I’m not sure even with this if the standard AM API function would support this. It should be doable with message port though.
Tony
Tony
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
-
- Posts: 6
- Joined: Sat Sep 26, 2020 1:38 am
Re: Getting the HD44780 to display the degree symbol
So I managed to get this figured out without having to use custom characters or the message port. Here is the code for getting a degree symbol "°" to show up in case anyone else needs it:
hw_chr_display_set_text(APUDisplay, 1, "EGT: " ..tostring(round(EGT), 0) .. "\xDF" .. "C")
The "\xDF" is what emits the little circle degree symbol.
hw_chr_display_set_text(APUDisplay, 1, "EGT: " ..tostring(round(EGT), 0) .. "\xDF" .. "C")
The "\xDF" is what emits the little circle degree symbol.
Re: Getting the HD44780 to display the degree symbol
Good stuff. Thanks for sharing the tip.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D