Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

ScrollPhat HD - special characters

$
0
0

@Lamirah wrote:

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)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles