Dear forum,
I have now verified my I2C devices using Python.
I need to re-code them in C.
I find i2c driver dokumented here:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/i2c/dev-interface
The documentation complies with my 3.8.13-bone67 compiled and installed kernel source (KERNEL/drivers/i2c/i2c-core.c)
Problem:
No file in /usr/include/* contains the prototypes for the documented i2c_smbus_xxxx_xxxx() functions.
I can open/read/write to the /dev/i2c-x devices using standard read(), write() and ioctl(), but I find no higher level i2c functions.
What is my problem?
Please advice.
Best regards
Terje Froysa