Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

miniPiTFT 240x135 backlight works but does not display data
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: miniPiTFT 240x135 backlight works but does not display d

by dinglebox on Tue Mar 23, 2021 3:08 pm

mikeysklar - I will start a new thread, thank you.


lysynski - I do have both of those enabled

dinglebox
 
Posts: 6
Joined: Tue Mar 16, 2021 10:51 am

Re: miniPiTFT 240x135 backlight works but does not display d

by rsuryase on Fri Oct 01, 2021 11:03 pm

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 | TOGGLE FULL SIZE
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'


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.

Code: Select all | TOGGLE FULL SIZE
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

by rsuryase on Fri Oct 01, 2021 11:48 pm

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 following
Code: Select all | TOGGLE FULL SIZE
sudo pip3 install
ERROR: You must give at least one requirement to install (see "pip help install")


unless you meant this
Code: Select all | TOGGLE FULL SIZE
install
install: missing file operand
Try 'install --help' for more information


either way it didn't work. Any other ideas? Thanks for the help.


What code to use to uninstall kernel driver?

rsuryase
 
Posts: 3
Joined: Fri Oct 01, 2021 10:30 pm

Re: miniPiTFT 240x135 backlight works but does not display d

by jjaguirre394 on Sat Oct 23, 2021 11:07 pm

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

jjaguirre394
 
Posts: 2
Joined: Thu Jan 02, 2020 4:58 pm

Please be positive and constructive with your questions and comments.