Forum Discussion
Altera_Forum
Honored Contributor
19 years agoI2C WRITE/READ problem
Hi all, Some weeks ago, hippo help me sort out the OC i2c drivers, and it now works. I am now able to send commands via i2c. I was having a bit of problem when trying to do a sequence of write...
Altera_Forum
Honored Contributor
19 years agoI found out the problem.
The inlcude of i2c-dev.h was pointing to the wrong file. It should be pointing to#include "i2c-dev.h" // This file has to be in /home/uclinux/uClinux-dist/user/lm_sensors/kernel/include/i2c-dev.h It now works.