Chapter 3 C Language and Arduino type IDE for pcDuino8 Uno
Command line style
The quickest way to get going with Arduino sketches is to start with the samples so you have a ‘template’ to guide you. For parts of this guide to work, you’re pcDuion8 Uno needs to be connected to the Internet and you also need a terminal session running on the pcDuion8 Uno.
Setup(one time)
Do this using the command:
cd ~
git clone https://github.com/pcduino/c_enviroment
Cloning into 'c_enviroment'... remote: Counting objects: 250, done. remote: Compressing objects: 100% (166/166), done. remote: Total 250 (delta 87), reused 232 (delta 69) Receiving objects: 100% (250/250), 302.59 KiB | 78 KiB/s, done. Resolving deltas: 100% (87/87), done.
Initial Look Around
You should now have a folder called c_enviroment. You can check by typing :
ls -l c_enviroment
Makefile hardware libraries output sample
Change into the c_envoroment folder and run make
to make the libraries and the examples:
cd c_envoroment
make