Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c_lcdio [2016/03/02 08:24] john1117 [Tutorials] |
en:c_lcdio [2016/06/07 17:09] brian.kim [Build the wiringPi on ubuntu] |
||
---|---|---|---|
Line 12: | Line 12: | ||
=== LCD pins === | === LCD pins === | ||
^Pin name^wiringPi num^Export GPIO num^^ | ^Pin name^wiringPi num^Export GPIO num^^ | ||
- | ^:::^:::^C1/C1/C0+^ODROID-C2^ | + | ^:::^:::^C0/C1/C1+^C2^ |
|LCD_RS| #7 | #83 | #249 | | |LCD_RS| #7 | #83 | #249 | | ||
|LCD_EN| #0 | #88 | #247 | | |LCD_EN| #0 | #88 | #247 | | ||
Line 21: | Line 21: | ||
====== Build the wiringPi on ubuntu ====== | ====== Build the wiringPi on ubuntu ====== | ||
+ | <WRAP center round important 100%> | ||
+ | **Note** | ||
+ | * Before starting this guide, you should check whether the 1-wire module is loaded or not. Because 1-wire and LCD_RS share the GPIOX_21 pin. | ||
+ | <code> | ||
+ | odroid@odroid64:~$ lsmod | ||
+ | Module Size Used by | ||
+ | w1_gpio 3785 0 | ||
+ | wire 25687 1 w1_gpio | ||
+ | (...) | ||
+ | </code> | ||
+ | * If 1-wire module is loaded, then please unload the 1-wire modules. | ||
+ | </WRAP> | ||
To use the LCD-IO Shield with wiringPi you build the wiringPi library first. | To use the LCD-IO Shield with wiringPi you build the wiringPi library first. | ||
Line 30: | Line 41: | ||
cd wiringPi | cd wiringPi | ||
./build | ./build | ||
- | |||
====== Tutorials ====== | ====== Tutorials ====== | ||
=== Basic example === | === Basic example === |