From 08449c5aa1d8d5d5251bc84f86cdba74cded7ef5 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 13 Jun 2019 10:33:21 +0100 Subject: [PATCH] Enable i2c and SPI --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index c1d36d6..1136de8 100755 --- a/install.sh +++ b/install.sh @@ -27,6 +27,10 @@ cd .. printf "Backing up $CONFIG\n" cp $CONFIG "config.preinstall-$DATESTAMP.txt" +printf "Setting up i2c and SPI..\n" +raspi-config nonint do_spi 0 +raspi-config nonint do_i2c 0 + printf "Setting up serial for PMS5003..\n" # Disable serial terminal over /dev/ttyAMA0 raspi-config nonint do_serial 1 -- 2.30.2