MRonline Posted March 22, 2021 at 02:51 PM Share Posted March 22, 2021 at 02:51 PM (edited) Hi, ich versuche gerade die Textgröße zu erhöhen, finde aber nichts. Ich würde gern eine Zahl (Temperatur) so groß darstellen, dass man sie aus 2m Distanz lesen kann. Vergleichbar mit der Textgröße im Video in der Doku:https://www.tinkerforge.com/de/doc/Hardware/Bricklets/OLED_128x64_V2.html#oled-128x64-v2-bricklet Wie bekomme ich das mit PHP hin? Dankesehr! Edited March 22, 2021 at 02:51 PM by MRonline Quote Link to comment Share on other sites More sharing options...
rtrbt Posted March 22, 2021 at 03:43 PM Share Posted March 22, 2021 at 03:43 PM Das OLED kann von sich aus nur die eine Textgröße darstellen. Die großen Zahlen für das Beispielvideo werden als Bild gezeichnet: https://github.com/Tinkerforge/oled-128x64-bricklet/blob/master/software/examples/python/example_draw_servo_poti.py Etwas ähnliches müsstest du dann auch machen. Du könntest dir zum Beispiel eine Bitmap-Font suchen oder Text mit einer Graphikbibliothek rastern und dann die Pixel auf das Display schieben. Quote Link to comment Share on other sites More sharing options...
MRonline Posted March 22, 2021 at 05:08 PM Author Share Posted March 22, 2021 at 05:08 PM ok. schade. Danke Dir! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.