adafruit / adafruit/Adafruit_CircuitPython_RGB_Display
nothing happens
- Dominant language
- Python
- Stars
- 143
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using a Raspbery PI 3 modelB rev 1.2 OS64bits
and a [TFT 480x320 3.5'' ILI9488 65Kcol](https://fr.aliexpress.com/item/1005001999296476.html?spm=a2g0o.order_list.order_list_main.255.54065e5blN3GB4&gatewayAdapt=glo2fra)
I installed :
>pip3 install adafruit-circuitpython-lis3dh --break-package-system
>pip3 install adafruit-circuitpython-rgb-display --break-package-system
SPI enabled
with
connections :
Vcc Pin 2 5V
Gnd Pin 6
CS Pin 24 / GPIO8
Reset Pin 11 / GPIO17
D/C Pin 22/ GPIO25
SDI(MOSI) Pin 19 / GPIO10
SCK Pin 23 / GPIO11
LED(BL) Pin 1 3.3V
SDO(MISO) Pin 21 / GPIO 9
when I run :
> python test.py
```
import time
import busio
import digitalio
from board import SCK, MOSI, MISO, D2, D3
from adafruit_rgb_display import color565
import adafruit_rgb_display.ili9341 as ili9341
# Configuration for CS and DC pins:
CS_PIN = D2
DC_PIN = D3
# Setup SPI bus using hardware SPI:
spi = busio.SPI(clock=SCK, MOSI=MOSI, MISO=MISO)
# Create the ILI9341 display:
display = ili9341.ILI9341(spi, cs=digitalio.DigitalInOut(CS_PIN),
dc=digitalio.DigitalInOut(DC_PIN))
# Main loop:
while True:
# Clear the display
display.fill(0)
# Draw a red pixel in the center.
display.pixel(120, 160, color565(255, 0, 0))
# Pause 2 seconds.
time.sleep(2)
# Clear the screen blue.
display.fill(color565(0, 0, 255))
# Pause 2 seconds.
time.sleep(2)
```
nothing happens, i.e no error & white screen
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the hardware connections and test.py entry point shown in the report, checking the TFT controller and pin mapping against the ILI9341 driver used there. Run the script while verifying the display wiring and configuration; done means the screen visibly changes between the reported red pixel/black state and blue fill rather than remaining white.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, raspberry-pi
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100