I have a rpi4 with an automation hat mini connected directly.
I started the tutorial from here:
I did the curl install then a reboot.
I went to the ~/Pimoroni/automationhat/examples/hat-mini directory and tried the output.py example.
It complained that the ST7735 module wasn’t installed, so I did a
pip install ST7735
Now I get:
This Automation HAT Mini example toggles and displays the
status of the three 24V-tolerant digital outputs.
Press CTRL+C to exit.
Traceback (most recent call last):
File “output.py”, line 52, in
File “/usr/local/lib/python3.7/dist-packages/ST7735/init.py”, line 156, in init
self._spi = spidev.SpiDev(port, cs)
FileNotFoundError: [Errno 2] No such file or directory