Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c_lcdio [2016/06/07 17:09] brian.kim [Build the wiringPi on ubuntu] |
en:c_lcdio [2017/07/24 11:39] (current) john1117 [Tutorials] |
||
---|---|---|---|
Line 59: | Line 59: | ||
wget http://dn.odroid.com/source_peripherals/16x2lcdio/lcd_time.c | wget http://dn.odroid.com/source_peripherals/16x2lcdio/lcd_time.c | ||
2. Compile & Run | 2. Compile & Run | ||
- | gcc -o lcd_time lcd_time.c -lwiringPi -lpthread | + | gcc -o lcd_time lcd_time.c -lwiringPi -lwiringPiDev -lpthread |
sudo ./lcd_time | sudo ./lcd_time | ||
=== Interrupt example === | === Interrupt example === | ||
Line 69: | Line 69: | ||
sudo ./wiring_isr | sudo ./wiring_isr | ||
3. Push the SW1 on 16x2lcd board | 3. Push the SW1 on 16x2lcd board | ||
- | |||
- | ** GPIO interrupt doens't work on the C2 yet. ** | ||
=== Display sensors value with Weather-Board === | === Display sensors value with Weather-Board === |