HOW TO IMPLEMENT I2C WITH NRF PRODUCT

Hello, I have an aht20 sensor from adafruit and an rtc ds3221, the 2 sensors are i2c, except that I am taking this course academy.nordicsemi.com/.../, but the course in question they used a shield for i2c communication, already for me I don't think it was the best example,  can you help me? Thanks. 

Grin

Parents Reply Children
  • So for starters, I tried using the same code you linked above & in that I don't see any overlay file for nrf7002dk. So I made one myself with the content you had provided in your overlay file screenshot.
    But when I build the application its throwing error: FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\ce3b5ff664\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/ce3b5ff664/opt/bin/python.exe '-Bc:\Users\FCI\Desktop\i2c\build' -GNinja -DBOARD=nrf7002dk/nrf5340/cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=prj.conf '-Sc:\Users\FCI\Desktop\i2c'

    I've setup everything very similar to yours.

Related