61
ODROID C1 USER MANUAL
$ cd ~
$ git clone https://github.com/hardkernel/WiringPi
$ cd WiringPi
$ ./build
Then, download the C-language sample source code exam-
ple-led.c from the previously mentioned Wiki, to a working directory
such as tkit-example, then build and run it using the following com-
mands:
$ cd ~ && mkdir tkit-example/ && cd tkit-example/
$ gcc -o example-led example-led.c -lWiringPi -lWiringPiDev -lp-
thread
$ sudo ./example-led
Note that GPIO access requires root user privilege. Move your
finger closer to the light sensor and you should see the LEDs light up.
ODUINO ONE
The ODROID-compatible Arduino called the ODUINO ONE in-
cludes the following components, all packaged into one experimenta-
tion unit, as shown in the image below.
The ODUINO ONE unit
• Arduino Uno R3 + a shield containing
• one 16x2 LCD display
• one DHT11 one-wire humidity / Temperature sensor
• one keypad (four directional keys)
The ONE package can be powered by the C1 using the USB
Std A/Std B cable. Connect the cable to the ODUINO ONE and the
C1. The ONE goes through the power-up process and displays the
ambient humidity and temperature. It can also display the key that
gets clicked on the keypad. Some additional information on the ONE
Chapter 4
Содержание ODROID-C1
Страница 1: ...ODROID C1 USER MANUAL rev 20150929 ...