lbaitemple / rpi-pico-ssd1306

raspberry pi pico i2c to oled screen (ssd1306)
https://lbaitemple.github.io/rpi-pico-ssd1306/
MIT License
0 stars 0 forks source link

on 128x32 oled driven by ssd1306, the font of 'show string' is too narrow #1

Closed sonictl closed 1 year ago

sonictl commented 1 year ago

on 128x32 oled driven by ssd1306, the font of 'show string' is too narrow. 128x64 is ok.

lbaitemple commented 1 year ago

I will verify. The code is at main.ts line 39. You can specify a different value for displayHeight. let displayHeight = 64 / 8

lbaitemple commented 1 year ago

on 128x32 oled driven by ssd1306, the font of 'show string' is too narrow. 128x64 is ok.

Can you test the code again? I updated the code so it should work on a 128x32 oled ssd1306 now.