diff --git a/configure_second_I2C_bus.sh b/configure_second_I2C_bus.sh new file mode 100644 index 0000000000000000000000000000000000000000..43e8b4509f750f3fb975bdec257e47c00b62bd92 --- /dev/null +++ b/configure_second_I2C_bus.sh @@ -0,0 +1,2 @@ +sudo apt-get install -y i2c-tools +echo -e "[all]\ndtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=22,i2c_gpio_scl=23" | sudo tee -a /boot/config.txt