on my ESP2866 running MicroPython I connected an OLED Display (128x64) using this tutorial.
I send the ssd1306.py and the ssd1306.mpy to my board.
after initializing
Code: Select all
import machine
import ssd1306
i2c = machine.I2C(-1, machine.Pin(5), machine.Pin(4))
oled = ssd1306.SSD1306_I2C(128, 32, i2c)
My first question:
Where can I see a documentation what this different commands mean? (and what variables are supposed to be entered) I figured out oled.text() because you need two points and a color for the line but the rest... I just don't know and google was no help. There needs to be some explaination.
My second question:
Are there different versions of the ssd1306.py and which should I choose?
I'm struggling with the size of the font. I would like to fill the whole display with a number but sadly there is no "oled.FontSize" e.g.
I am aware of some methods to load various fonts to the board. I just want the same font, but bigger. Is there an easy way to archieve that?
Maybe another version of ssd1306.py that has a font size module (?) included?
Greetings, Tom