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

Add support for Adafruit SSD1306 i2c Oled Display 128*64 #1258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erajtob
Copy link

@erajtob erajtob commented Oct 13, 2024

Description

I had one of the generic SSD1306 lying around, one night I decided to try pwnagotchi out with my pi 0 w, for the lack of any other display at hand on a weekend night, I thought of porting this display.

Motivation and Context

  • I have raised an issue to propose this change (required)

Currently there's no support for the SSD1306(popularly known as the Adafruit Monochrome Oled 0.96"") which is a very accessible and cheap display, lots of hobbyist have it handy already, due to the countless unofficial ones flooding around in the market.

Resolves Issues: #1257 #1256

How Has This Been Tested?

Updated display changes were manually copied over to a fresh build of pwnagotchi v1.5.5 at location /usr/local/lib/python3.7/dist-packages/pwnagotchi with updated config.toml settings pointing to the new display, logs have been checked, both manual and auto mode has been thoroughly tested, I've been using this for over a year now.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s

    - Tested for over a year on a pi-0 w
    - Driver utilizes RPI.GPIO and smbus
    - Adapted to work without any of the Adafruit dependancies
    - Based on Adafruit's implementation of the SSD1306

Signed-off-by: MD Raqibul Islam <hello@eraj.dev>
@mmoinsiaam
Copy link

Thank You !

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

Successfully merging this pull request may close these issues.

2 participants