Skip to content

displayhatmini-python/examples/pygame-demo.py crash in ST7789/__init__.py line 123 #23

@PaulskPt

Description

@PaulskPt

Platform: RPi400
OS: Raspberry Pi OS version bullseye (32bit)
External devices attached: Pimoroni DisplayHatMini 2.0 on an Adafruit CyberDeck, connected to the 40-pin header of the RPi400.
All relevant OS software and needed modules installed; checked.

/boot/config.txt lines:
[all]
dtoverlay=spi=on
dtoverlay=displayhatmini

lsmod result: "spi_bcm2835 24576 0"

After boot the backlight of the DisplayHatMini is lit and the LED to the right of the display shows green light.

~/pimoroni/displayhatmini-python/examples/pygame-demo.py crashes
in ST7789/init.py line 123 with [Error 2] FileNotFoundError (see attached screenshot),

After the python script crash the LED on the right of the display is off. The backlight is still on.

Googled for possible alike solved issues. Not found. Only one case also with FileNotFoundError in connection to spidev.SpiDev() but concerning other hw/sw using linux (just for info: https://forum.pine64.org/showthread.php?tid=6282).
Entered a question on Pimoroni's discord channel #tech-support but no reply (yet).
That is why I come to bother you here.

2021-12-07-16h58 41_spidev SpiDev(port  cs)error2_FileNotFoundError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions