rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
382 stars 147 forks source link

Degree symbol for SSD1331 #90

Closed Flash1705 closed 6 years ago

Flash1705 commented 6 years ago

Hello, first of all thanks for the great library and examples.

I have a Adafruit 0.96" mini Color OLED display. https://learn.adafruit.com/096-mini-color-oled/overview

How can I display a degree symbol on a SSD1331 OLED display using Python.

Any insight is appreciated.

Flash1705 commented 6 years ago

Hello

I solved my problem as follows.

draw.text((x, y), now_temp + chr(176) + 'C', font=var fill="green")
rm-hull commented 6 years ago

Yep, that was more-or-less what I was going to suggest. Glad you got it sorted.