програмиране софтуер хардуер

Install Arduino IDE on Pinebook

Step 1. Download the ARM version of Arduino IDE (1.8.4)

Step 2. Unpacking to /opt/arduino-1.8.4/

sudo tar xf arduino-1.8.4-linuxarm.tar.xz –directory /opt/

Step 3. Enable armhf package support and update software repository:

sudo dpkg –add-architecture armhf
sudo apt-get update

Step 4. Installing required dependencies:

sudo apt-get -y install libxtst6:armhf
sudo apt-get -y install libxrender1:armhf
sudo apt-get -y install libxi6:armhf
sudo apt-get -y install openjdk-8-jre:armhf
sudo apt-get -y install libxft2:armhf

Step 5. Install GTK2 engine and required theme:

sudo apt-get -y install gtk2-engines:armhf gtk2-engines-murrine:armhf

Step 6. Install:

sudo /opt/arduino-1.8.4/

Step 7. Set permissions for accessing serial port:

sudo usermod -a -G dialout pine64
sudo chmod a+rw /dev/ttyUSB0

By Димитър Минчев

Доктор по информатика и компютърни науки