This is an old revision of the document!
Table of Contents
WEATHER-BOARD on ODROID-C
I2CA (/dev/i2c-1)
Pin Number | Net Name | Export Number |
---|---|---|
3 | I2CA.SDA | 74 |
5 | I2CA.SCL | 75 |
I2CB (/dev/i2c-2)
Pin Number | Net Name | Export Number |
---|---|---|
27 | I2CB.SDA | 76 |
28 | I2CB.SCL | 77 |
Settings I2C
Add I2C module
sudo modprobe aml_i2c ls /dev/i2c-*
/dev/i2c-1 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4
To always load the kernel module on boot up, run the following command.
echo "aml_i2c" | sudo tee -a /etc/modules