miniPiTFT 240x135 backlight works but does not display data

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
dinglebox
 
Posts: 6
Joined: Tue Mar 16, 2021 10:51 am

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

Post by dinglebox »

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


lysynski - I do have both of those enabled

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

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

Post by rsuryase »

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'
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

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

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

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

Post by rsuryase »

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

sudo pip3 install
ERROR: You must give at least one requirement to install (see "pip help install")
unless you meant this

Code: Select all

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?

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

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

Post by jjaguirre394 »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”