From 88c49d80d9afc21fda1bbb5367be47477224f6f6 Mon Sep 17 00:00:00 2001 From: awatlet <arnaud.watlet@umons.ac.be> Date: Tue, 17 Oct 2023 11:01:07 +0200 Subject: [PATCH] Adds configuration file for second I2C bus --- configure_second_I2C_bus.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 configure_second_I2C_bus.sh diff --git a/configure_second_I2C_bus.sh b/configure_second_I2C_bus.sh new file mode 100644 index 00000000..43e8b450 --- /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 -- GitLab