mikeysklar - I will start a new thread, thank you.
lysynski - I do have both of those enabled
miniPiTFT 240x135 backlight works but does not display data
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dinglebox
- Posts: 6
- Joined: Tue Mar 16, 2021 10:51 am
- rsuryase
- Posts: 3
- Joined: Fri Oct 01, 2021 10:30 pm
Re: miniPiTFT 240x135 backlight works but does not display d
I have this same problem so I use this code to get a console display instead. How do I get the Pi-Hole stats display? I've enabled SPI and I2C.lysynski wrote:I'm having a similar problem but different message: it looks like a module is missing - any thoughts? Thanks for the help.
Code: Select all
me@pihole: ~ $ sudo python3 ~pi/stats.py Traceback (most recent call last): File "/home/pi/stats.py", line 16, in <module> import adafruit_rgb_display.st7789 as st7789 ModuleNotFoundError: No module named 'adafruit_rgb_display'
Code: Select all
cd ~
sudo pip3 install --upgrade adafruit-python-shell click
sudo apt-get install -y git
git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
cd Raspberry-Pi-Installer-Scripts
sudo python3 adafruit-pitft.py --display=st7789_240x135 --rotation=270 --install-type=console
- rsuryase
- Posts: 3
- Joined: Fri Oct 01, 2021 10:30 pm
Re: miniPiTFT 240x135 backlight works but does not display d
What code to use to uninstall kernel driver?lysynski wrote:The kernel driver wasn't installed I did your Python Setup as shown on your site. Regardless I ran the installer without parameters and got the followingunless you meant thisCode: Select all
sudo pip3 install ERROR: You must give at least one requirement to install (see "pip help install")
either way it didn't work. Any other ideas? Thanks for the help.Code: Select all
install install: missing file operand Try 'install --help' for more information
- jjaguirre394
- Posts: 2
- Joined: Thu Jan 02, 2020 4:58 pm
Re: miniPiTFT 240x135 backlight works but does not display d
For anyone still seeing these issues like I was after following the python setup instructions here: https://learn.adafruit.com/adafruit-min ... thon-setup.
I had to run all of these commands with "sudo" so that they were installed system-wide.
Specifically:
sudo pip3 install adafruit-circuitpython-rgb-display
sudo pip3 install --upgrade --force-reinstall spidev
I had to run all of these commands with "sudo" so that they were installed system-wide.
Specifically:
sudo pip3 install adafruit-circuitpython-rgb-display
sudo pip3 install --upgrade --force-reinstall spidev
Please be positive and constructive with your questions and comments.