Skip to content

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