Skip to content

overlays patch. or make os work with i2c gpio.

Alex Zaslavskis edited this page Jul 2, 2021 · 2 revisions
  1. Download the rpi lite os
  2. Unzip it .
  3. Unzip the 0.fat
  4. copy overlay folder to sd-card
  5. open config.txt and add the lines that will correspond your i2c with gpio pins. Example :
dtoverlay=i2c-gpio,bus=0,i2c_gpio_sda=23,i2c_gpio_scl=24

Add the modprobe i2c-gpio driver.