Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c1_wb_16x2lcd [2015/02/05 19:12] john1117 [How to run] |
en:c1_wb_16x2lcd [2016/02/26 11:25] (current) john1117 [Use to Weather-Board on ubuntu] |
||
---|---|---|---|
Line 7: | Line 7: | ||
=== Preparations === | === Preparations === | ||
- | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141578608433|ODROID-C1]] | + | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143703355573|ODROID-C1]] |
* [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637550797|16x2 LCD + IO Shield]] | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141637550797|16x2 LCD + IO Shield]] | ||
- | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G140264897696|Weather Board]] | + | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G144533067183|Weather Board]] |
* [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141628490396|8GB eMMC Module C1 Linux]] | * [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141628490396|8GB eMMC Module C1 Linux]] | ||
+ | |||
+ | |||
+ | If you have the **Weather Board 2**, use the updated guide in this link.\\ | ||
+ | [[en:weather-board|Weather Board 2]] | ||
+ | |||
===== How to run ===== | ===== How to run ===== | ||
=== Add to Sensors to the fdt(device tree source) === | === Add to Sensors to the fdt(device tree source) === | ||
Line 51: | Line 56: | ||
./build | ./build | ||
- | === Compile & run === | + | === Compile & Run === |
gcc -o <create excute file name> <source file name> -lwiringPi -lwiringPiDev -lpthread | gcc -o <create excute file name> <source file name> -lwiringPi -lwiringPiDev -lpthread | ||
sudo ./<created excute file name> | sudo ./<created excute file name> |