Examples of I2c in Python
#6
(12-30-2016, 03:39 PM)martinayotte Wrote: It seems that your kernel header files are no consistent each others, maybe one come from one version and the other from other.
Check the date of both /usr/include/linux/i2c.h and /usr/include/linux/i2c-dev.h to see if they are the same.
Which image are you using ? I strongly recommend one that use the longsleep kernel.

you were correct about the dates of the files being out of sync. copied over those two from a new image and the compile ran successfully.
  Reply


Messages In This Thread
Examples of I2c in Python - by blanius - 12-12-2016, 09:12 AM
RE: Examples of I2c in Python - by martinayotte - 12-15-2016, 03:37 PM
RE: Examples of I2c in Python - by HayseedGeek - 12-29-2016, 02:20 PM
RE: Examples of I2c in Python - by dkryder - 12-29-2016, 07:11 PM
RE: Examples of I2c in Python - by martinayotte - 12-30-2016, 03:39 PM
RE: Examples of I2c in Python - by dkryder - 01-10-2017, 02:53 PM
RE: Examples of I2c in Python - by GliderHenry - 09-27-2017, 10:35 PM
RE: Examples of I2c in Python - by GliderHenry - 10-02-2017, 08:25 PM
RE: Examples of I2c in Python - by tllim - 10-02-2017, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Temperature/Humidity/Ambient Light data with Python Yomet 8 11,642 10-02-2016, 02:36 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 5 Guest(s)