First of all - I am a beginner.
I have some problems with special characters on ScrollPhatHD. If I use the code below, ä and ü are displayed as µô and µß. How can I solve this?
Any help would be appreciated :).
#!/usr/bin/env python # -*- coding: utf-8 -*-
import scrollphathd as scrollphat from scrollphathd.fonts import font5x7 import time as tm def main(): scrollphat.write_string("Hälfte über Hälfte") if __name__ == "__main__": main() while True: try: scrollphat.show() scrollphat.scroll() tm.sleep(0.05) except KeyboardInterrupt: scrollphat.clear() sys.exit(-1)