You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
while True:
# Fill the screen red, green, blue, then black:
for color in ((255, 0, 0), (0, 255, 0), (0, 0, 255)):
display.fill(color565(color))
# Clear the display
display.fill(0)
# Draw a red pixel in the center.
display.pixel(display.width // 2, display.height // 2, color565(255, 0, 0))
# Pause 2 seconds.
time.sleep(2)
# Clear the screen a random color
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?
The text was updated successfully, but these errors were encountered: