outdoorbits / little-backup-box

This software turns a single-board computer into a versatile, pocket-sized backup solution. Especially for digital photography, this is the solution for backing up images and media files on mass storage devices when traveling or at events. Media content can be viewed and rated for the subsequent process.
http://littlebackupbox.com
GNU General Public License v3.0
504 stars 103 forks source link

Oled display issue #168

Closed clivetimmins closed 1 year ago

clivetimmins commented 1 year ago

Every other line on my oled display is missing, like it's being ran at 128x32 not 128x64. I have tried changing it in the python scripts as it seems that 32 is the default inside that ? Dosent seem to have changed anything. 20220914_203648

outdoorbits commented 1 year ago

The display has four lines and it looks exactly like that. The last line is black now but I would expect, it was white when the display started. Just run a backup and I would expect you to see the use of the last line too.

outdoorbits commented 1 year ago

New information is printed inverted, old lines are pushed down and printed as you see here in line 3. Outputs using all the screen (like on backup) do not follow this rule.

clivetimmins commented 1 year ago

Shouldn't the white box for the inverted text be solid white? Instead of the zebra look it has now? I should of been more clear I was referring to each line as in the individual pixel lines.

outdoorbits commented 1 year ago

Does the last line work while backup?

clivetimmins commented 1 year ago

Yes the last line works, just don't know why half the pixels are not showing up. 20220915_164732

outdoorbits commented 1 year ago

Sorry, maybe I didn't understand the problem at first. You counted the pixel-lines to be 32 not 64, right? I really didn't do this before but my display doesn't display the black lines as strong as yours. But mine also might not have a 64 lines resolution. I will check this, but this will need some time. Thank you.

clivetimmins commented 1 year ago

Thats right its only displaying 32 lines out of 64 I have counted to confirm. The adafruit library is set to 32 by default I think if that helps.

Default is oled = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c)

I think it should be oled = adafruit_ssd1306.SSD1306_I2C(128, 64, i2c)

Not sure if that helps at all. Thank you for taking the time on this I appreciate it.

clivetimmins commented 1 year ago

I've figured it out. I was editing oled.py in my home folder not the var/www folder. Screenshot_20220915-195140_Termius 20220915_195722

outdoorbits commented 1 year ago

Great, thank you, that's just what I did right now. And I changed the font. Just got so settings-update. Very much nicer!

clivetimmins commented 1 year ago

Updating now thanks a bunch ☺️