I2c Dev for MPU6050 in C/C++

Hi,

I am able to detect my I2C device with sudo i2cdetect -y -r 8. I have found python libraries that does the i2c communications but im looking to develop mine with C/C++.

There are many resources for RPI but it seems BCM2835 doesnt work on Jetson Nano. Any help is appreciated.

Thank you.

hello user79213,

are you asking for the kernel APIs for I2C reading/writing?
please also check kernel documentation for the reference,
i.e. $L4T_Sources/r32.6.1/Linux_for_Tegra/source/public/kernel/kernel-4.9/Documentation/i2c/writing-clients

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.