adafruit / adafruit/Adafruit_CircuitPython_RGB_Display

rgb_display_ili9341test.py fails

Open
#123 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
143
Forks
53
PR merge metrics
No merged PRs in 30d

Description

administrator@raspberrypi:~ $ python3 rgb_display_ili9341test.py
Traceback (most recent call last):
File "/home/administrator/rgb_display_ili9341test.py", line 25, in
spi = busio.SPI(clock=board.SCK, MOSI=board.MOSI, MISO=board.MISO)
File "/usr/local/lib/python3.9/dist-packages/busio.py", line 365, in __init__
self._spi = _SPI(portId)
File "/usr/local/lib/python3.9/dist-packages/adafruit_blinka/microcontroller/generic_linux/spi.py", line 25, in __init__
self._spi = spi.SPI(device=(portid, 0))
File "/usr/local/lib/python3.9/dist-packages/Adafruit_PureIO/spi.py", line 149, in __init__
raise IOError(f"{device} does not exist")
OSError: /dev/spidev0.0 does not exist

Whats wrong here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with rgb_display_ili9341test.py and the traceback at busio.SPI, then inspect how the Raspberry Pi exposes /dev/spidev0.0. Determine whether the failure is caused by the environment or the library, and document a reproducible diagnosis and expected setup for the test to run.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.