1.

How to display degree symbol in python

Answer»

Answer: The Adafruit LCD seems to use a HD44780 compatible DISPLAY - this supports an extended ASCII character set, not Unicode.

It should have a '0' superscript character which you COULD use as the degree symbol.

You should be able to print this character using chr(176) LIKE this:

lcd.message("Temperature: \n"+ str(TEMP)+ chr(176)+ "C")

Hope this helps.

Explanation:



Discussion

No Comment Found