Skip to content

Commit 08449c5

Browse files
committed
Enable i2c and SPI
1 parent b17f34b commit 08449c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ cd ..
2727
printf "Backing up $CONFIG\n"
2828
cp $CONFIG "config.preinstall-$DATESTAMP.txt"
2929

30+
printf "Setting up i2c and SPI..\n"
31+
raspi-config nonint do_spi 0
32+
raspi-config nonint do_i2c 0
33+
3034
printf "Setting up serial for PMS5003..\n"
3135
# Disable serial terminal over /dev/ttyAMA0
3236
raspi-config nonint do_serial 1

0 commit comments

Comments
 (0)