Step by step access to i2c from UBUNTU 16.4

KikoKiko Posts: 1New Member
I have installed UBUNTU, 4.4.0-2-upboard .

I can flip/flop GPIO devices, but trying to write to any of the /dev/i2c devices produces no output in the device.

Do I need to configure the device in some way prior to try to write in the device?

Do you have some complete small example working?

Thanks in advance

Comments

  • WereCatfWereCatf Posts: 201New Member
    Use i2c-tools, ie. i2cget and i2cset, if you want to use I2C from the command-line, or libmraa/libsoc/Linux ioctl-calls, if you're trying to use I2C from your own code.
Sign In or Register to comment.