Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:wb_c_16x2lcd [2016/03/30 10:18] john1117 [WEATHER-BOARD with 16x2 LCD on ODROID-C] |
en:wb_c_16x2lcd [2017/07/06 15:30] john1117 [WEATHER-BOARD with 16x2 LCD on ODROID-C] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== WEATHER-BOARD with 16x2 LCD on ODROID-C ====== | + | ====== WEATHER-BOARD with 16x2 LCD on ODROID-C1/C1+/C2 ====== |
[[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|}}]] | ||
Line 14: | Line 14: | ||
|28|I2CB.SCL|77|208| | |28|I2CB.SCL|77|208| | ||
====== Settings I2C ====== | ====== Settings I2C ====== | ||
- | ==== ODROID-C0/C1/C1+ ==== | ||
Add I2C module | Add I2C module | ||
sudo modprobe aml_i2c | sudo modprobe aml_i2c | ||
ls /dev/i2c-* | ls /dev/i2c-* | ||
- | <code bash> | ||
- | /dev/i2c-1 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4 | ||
- | </code> | ||
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 |