Libraries for the I2C on VIM3

Which Khadas SBC do you use?

Khadas VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?


Which version of system do you use? Khadas official images, self built images, or others?

Khadas official image, 20.04, Linux kernel 4.9

Please describe your issue below:

May I please get the libraries for the I2C function on the VIM3.

On the documentation page,, I am only able to find information on how to enable the I2C feature.

May I please know how I can use the I/O pins on my I2C I/O port expander with the VIM3. I have it connected to the pin #22, 23 and interrupt to 25. Is it possible to get a demo/example code and instructions on using the I2C with the VIM3.

Thank you

Hello @Balaji

You can use i2c-tools.

1 Like