Let's look at how to deploy Blynk libraries:
- You can deploy the Blynk libraries on Raspberry Pi by running the following commands:
pi@raspberrypi:~/wiringPi $ cd
pi@raspberrypi:~ $ git clone https://github.com/blynkkk/blynk-library.git
Refer to the following screenshot:
Cloning Blynk libraries
- After cloning the git repository, move to the linux directory:
pi@raspberrypi:~ $ cd blynk-library/linux
- Then build the library from source by targeting Raspberry Pi:
pi@raspberrypi:~/blynk-library/linux $make clean all target=raspberry
- This command will output the Blynk file that will be used to connect to the Blynk server:
Building Blynk libraries