From: imato <coo...@gm...> - 2012-02-23 03:10:51
|
Hi all, I want to use my gumstix talk to an external i2c device (RTC). I searched online and i found that i need to include an i2c head file (i2c-dev.h ) in my program. I found an i2c-dev.h file from the internet. I post it here. can anyone tell me if this is the correct head file? Do I just save the content of this file to an i2c-dev.h file in my computer? http://www.lm-sensors.org/browser/i2c-tools/trunk/include/linux/i2c-dev.h meanwhile, I have read the i2c example from gumstix wiki page. It uses #include <linux/i2c-dev.h>. Why not is it #include <i2c-dev.h> I am looking forward your help Thanks in advance. -- View this message in context: http://gumstix.8.n6.nabble.com/i2c-head-file-i2c-dev-h-question-tp4497344p4497344.html Sent from the Gumstix mailing list archive at Nabble.com. |