PaperTTY icon indicating copy to clipboard operation
PaperTTY copied to clipboard

Rpi5 rework

Open BTomiii opened this issue 1 year ago • 0 comments

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

BTomiii avatar Sep 23 '24 08:09 BTomiii