Skip to content

Commit

Permalink
Fix I2C Enabling During Install
Browse files Browse the repository at this point in the history
Additional step required to add a line to the /etc/modules file for enabling the I2C devices.
  • Loading branch information
nebhead committed Jun 1, 2022
1 parent 6d2b572 commit 40cad1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auto-install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ echo "*************************************************************************"
echo "dtparam=spi=on" | $SUDO tee -a /boot/config.txt > /dev/null
# Enable I2C - Needed for some displays, ADCs, distance sensors
echo "dtparam=i2c_arm=on" | $SUDO tee -a /boot/config.txt > /dev/null
echo "i2c-dev" | $SUDO tee -a /etc/modules > /dev/null

# Grab project files
clear
Expand Down

0 comments on commit 40cad1b

Please sign in to comment.