Site icon Elektrologi

Lampu Kedip dengan Jetson Nano 2GB Developer Kit

Berikut ini prosedur untuk menambahkan lampu kedip ke Jetson Nano 2GB Developer Kit

Download library dari https://github.com/pjueon/JetsonGPIO

git clone https://github.com/pjueon/JetsonGPIO
cd JetsonGPIO
mkdir build
cd build
cmake ..
make install

Compiling

 g++ -o simple_out simple_out.cpp  -lJetsonGPIO -lpthread

Setup library path

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

Jalankan progrram

./sample_out

Referensi

Exit mobile version