-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Module automatically restarts after setting displaywidth 64
#6740
Comments
Hi, please update to latest Tasmota version https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.7.0/sonoff-display.bin |
If after updating, your issue remains, do a reset 5 to delete all flash settings and start over. If that don't solve your issue, please complete the template. You have deleted all the useful information we need (Tasmota version, status 0 output, etc etc.) without that information we can't help you |
Looking into the code, the restart is ok to apply the new settings. |
If restart is OK, then issue is that settings are not stored |
|
You did a Please, do a |
And for testing (just to avoid any compilation issue) please update to the precompiled bin with display support: https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.7.0/sonoff-display.bin You can update by OTA (from Tasmota web UI) |
I tried everything with no luck (I will try a new wemos). |
I'll have a look now... |
The current code does only support 96 or 128 pixels. I'll change it to support 64 too and let you know when to test. |
Sorry for you but the used Adafruit display driver library does NOT support width 64 x 48. The only supported sizes are 96 x 16, 128 x 32 and 128 x 64 So I cannot solve this. |
As you compile yourself you might want to try this: In file
in
and in file
and report back the results. |
@arendst The library works with the PCB version: v1.1.0, v2.0.0 and v2.1.0 (current) In the default Adafruit and gemu's one it wasn't. |
aha ok, there was no note in the documentation about this.
Just @mike2nl so if understand correctly you will push the code to support 64x48? @arendst do I close this? |
Pls leave open for me to remember to put the change in the production code. |
Add SSD1306 64x48 pixel support (#6740)
Hi, Your request has been added. Please, test it and if it works, close this issue. Thanks. |
@ascillato2 |
Closing this issue as this feature has been added. Thanks 👍 |
Width and height can be set now
But when I do Is there any option/command for this? |
I can confirm x0y0 is off screen (shift 32 pixels) Updated the Adafruit_SSD1306.cpp file with code below void Adafruit_SSD1306::display(void) { TRANSACTION_START |
I confirm Krijnenr solution is working for me : wemos d1 mini + oled 64x48 v1.1.0. I compiled it from release 8.1.0.1. |
@tdemalliard Can you please confirm your |
Add support for 64x48 SSD1306 OLED (#6740)
BUG DESCRIPTION
Module automatically restarts after setting
displaywidth 64
REQUESTED INFORMATION
Device used (e.g., Sonoff Basic):
WeMos D1
+64 x 48 pixel OLED display SSD1306
Self-compiled
IDE / Compiler used:
pio
Flashing tools used:
pio run -t upload
Tasmota binary firmware version number used:
Provide the output of command:
Backlog Template; Module; GPIO
:Status 0
:TO REPRODUCE
in console write
EXPECTED BEHAVIOUR
Should not restart? :)
p.s.: never been so scared to open the issue 🤞
The text was updated successfully, but these errors were encountered: