enable i2c interface

Hi,
Could you tell me how to enable i2c interface for pi 3 on android?

Best Regards,
Hao

Comments

  • The same way as in Linux: http://ozzmaker.com/i2c/
    If you need to load modules, you can do it manually from /boot/modules

  • Hi kalkov,
    i added these below lines:

    dtparam=i2c_arm=on
    dtparam=i2c1=on

    But i don't have /dev/i2c-1.
    I need this dev for control.

    Best Regards,
    Hao

  • Which version of emteria.OS are you using? You don't need to add anything to the configuration, as it is already set. On my RPi3 with emteria.OS 0.4.2 there are three i2c devices detected:

    ls -al /dev | grep i2c
    crw------- 1 root root 89, 1 1970-01-01 01:00 i2c-1
    crw------- 1 root root 89, 2 1970-01-01 01:00 i2c-2
    crw------- 1 root root 89, 3 1970-01-01 01:00 i2c-3

  • Hi Kalkov,
    i saw it.
    Thanks !

Sign In or Register to comment.