Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:wb_c_16x2lcd [2015/11/05 11:21] john1117 [I2C settings] |
en:wb_c_16x2lcd [2016/02/29 18:42] john1117 [Settings I2C] |
||
---|---|---|---|
Line 2: | Line 2: | ||
[[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637550797|{{:en:weather_board:wb_16x2.png?400|}}]] | [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637550797|{{:en:weather_board:wb_16x2.png?400|}}]] | ||
====== Settings I2C ====== | ====== Settings I2C ====== | ||
+ | ==== ODROID-C0/C1/C1+ ==== | ||
Add I2C module | Add I2C module | ||
sudo modprobe aml_i2c | sudo modprobe aml_i2c | ||
Line 11: | Line 12: | ||
To always load the kernel module on boot up, run the following command. | To always load the kernel module on boot up, run the following command. | ||
echo "aml_i2c" | sudo tee -a /etc/modules | echo "aml_i2c" | sudo tee -a /etc/modules | ||
+ | | ||
+ | ==== ODROID-C2 ==== | ||
+ | I2C driver is auto loaded on **ODROID-C2** | ||
+ | sudo /dev/i2c-* | ||
+ | <code bash> | ||
+ | /dev/i2c-1 /dev/i2c-2 | ||
+ | </code> | ||
====== Download & Run ====== | ====== Download & Run ====== | ||
git clone https://github.com/hardkernel/WEATHER-BOARD.git | git clone https://github.com/hardkernel/WEATHER-BOARD.git |