Now you're ready to install all the required software on your Raspberry Pi to prepare it to work with Blynk Cloud:
- Update and upgrade packages
- git core
- WiringPi
- Blynk libraries
Now you're ready to install all the required software on your Raspberry Pi to prepare it to work with Blynk Cloud:
Let's see how to update and upgrade Raspbian:
pi@raspberrypi:~ $sudo apt-get update
Refer to the following screenshot:
pi@raspberrypi:~ $sudo apt-get dist-upgrade
You will need to install git-core on your Raspberry Pi to work with git repositories for cloning packages like WiringPi, and Blynk libraries.
pi@raspberrypi:~ $sudo apt-get install git-core
pi@raspberrypi:~ $ git -version
Refer to the following screenshot:
WiringPi is a PIN-based GPIO access library that can be used with all versions of Raspberry Pi:
pi@raspberrypi:~ $ git clone git://git.drogon.net/wiringPi
Refer to the following screenshot:
pi@raspberrypi:~ $ cd wiringPi
pi@raspberrypi:~/wiringPi $ ./build
Refer to the following screenshot:
Let's look at how to deploy Blynk libraries:
pi@raspberrypi:~/wiringPi $ cd
pi@raspberrypi:~ $ git clone https://github.com/blynkkk/blynk-library.git
Refer to the following screenshot:
pi@raspberrypi:~ $ cd blynk-library/linux
pi@raspberrypi:~/blynk-library/linux $make clean all target=raspberry