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

Rpi5 rework #134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Rpi5 rework #134

wants to merge 2 commits into from

Conversation

BTomiii
Copy link

@BTomiii BTomiii commented Sep 23, 2024

papertty
└ drivers
├ drivers_base.py - Modified
└ RPi - Added
init.py - Added
└ GPIO.py - Added

Tested on Raspberry pi 5, works.
I don't have any other versions of raspberry pi, so i couldn't test it.
Somehow spidev wouldn't accept "True" value for "no_cs" Attribute, but it works without it.

Works:

  • fb
  • image (but not with bmp - workaround:
    1. set the resolution in SpecialDriver to match your panel resolution
    2. run command: /papertty --driver bitmap image --image /.bmp
    3. this will create a .png file in the same directory
    4. lastly run the command normally with .png image:/papertty --driver IT8951 image --image /bitmap_frame_0.png
  • list
  • scrub
  • stdin (not tested)
  • terminal

Doesn't work:

  • vnc (timeout when connecting, maybe it works?)

BTW gpiozero version doesn't work (at least on rpi5)

Credits goes to Bob Rathbone for his awesome work: GPIOconverter

papertty
└ drivers
   ├ drivers_base.py - Modified
   └ RPi - Added
      ├ __init__.py - Added
      └ GPIO.py - Added
└ drivers
   ├ drivers_base.py - Modified
   └ RPi - Added
      ├ __init__.py - Added
      └ GPIO.py - Added
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.

1 participant