Exploring Raspberry Pi using C/C++ programming language
- multithread test
- gps client based on the gpsd
- HC-SR04 Ultrasonic Sensor
- gcc version 6.3.x or higher
- GNU Make 4.1 or higher
Depending of which client you want to test it is necessary to install the specific library. Otherwise you can install all libraries in order to compile using make
.
- gpsd lib
sudo apt-get install libgps-dev
- wiringPi lib
- bcm2835
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.56.tar.gz
tar xvfz bcm2835-1.56.tar.gz
cd bcm2835-1.56/
./configure
make
sudo make install
Execute the command make
under the root directory and an executalbe file main
will be create at the bin
directory.