Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssd1306 support for display mode: 72 x 40 #319

Open
aphorise opened this issue Dec 8, 2020 · 2 comments
Open

ssd1306 support for display mode: 72 x 40 #319

aphorise opened this issue Dec 8, 2020 · 2 comments

Comments

@aphorise
Copy link

aphorise commented Dec 8, 2020

The code runs fine - however adjusting with the provided options for my 0.42" display that's 72x40 I get an error:

python3 terminal.py  --display ssd1306 --width 72 --height 40
# ... default help menu +
# terminal.py: error: Unsupported display mode: 72 x 40
@thijstriemstra
Copy link
Collaborator

thijstriemstra commented Dec 9, 2020

Looks like something like this: https://www.buydisplay.com/i2c-white-0-42-inch-oled-display-module-72x40-arduino-raspberry-pi

i2c_white_0 42_inch_oled_display_module_72x40_arduino_raspberry_pi

Looking at luma.oled, this resolution isn't supported on ssd1306 yet.

@rm-hull rm-hull transferred this issue from rm-hull/luma.examples Dec 9, 2020
@thijstriemstra thijstriemstra changed the title terminal.py: error: Unsupported display mode: 72 x 40 ssd1306 support for display mode: 72 x 40 Dec 9, 2020
@mpissarello
Copy link

mpissarello commented Nov 6, 2024

+1, bought on Aliexpress: https://www.aliexpress.com/item/1005006408257788.html

TZT-0-42-0-42-Inch-White-OLED-Display-LCD-Module-72X40-Serial-Screen-White-Color

Another buyer posted some useful data in the comments:

  • 0x3C I2C address
  • 0x1C column start
  • 0xAD improve contrast
  • 0x30 command in init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants