From 8b5aa0c3f1f5a5d2b7624e492853d49e3f41d146 Mon Sep 17 00:00:00 2001 From: Marvin Date: Tue, 21 Nov 2023 13:22:55 -0700 Subject: [PATCH] Add the enable of the SPI to the setup script --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 4b662ac..baf48d0 100755 --- a/setup.sh +++ b/setup.sh @@ -12,6 +12,8 @@ pip3 install -r requirements.txt # sudo pip3 install mfrc522 # sudo pip3 install systemd-python +# Turn SPI on +echo "dtparam=spi=on" | sudo tee -a /boot/config.txt git clone https://github.com/waveshare/WM8960-Audio-HAT