Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use I2C

27 bytes removed, 19:08, 16 January 2012
no edit summary
}
} </pre>
The program uses i2c_smbus_read_byte_data function to get information from display, "i" variable is the EEPROM address, . EEPROM (Slave) reads address and from Omap (Master), after it send , EEPROM sends the address value to Omap (Master). <br>
More information about [[Peripherals Summary#I2C|I2C]].<br>
Compile program using your Cross Compiler, i used arm-linux-gnueabi-:
<pre>arm-linux-gnueabi-gcc parse-edid-beta2.c -o parse-edid-beta2</pre>
Make sure that i2c.dev.h has the same path as parse-edid-beta2.c.<br> Run program as root.
= Results =
4,199
edits