d94042ea22823f07681fbcc177d8bd88fe476b51
Library for the GY-521 Breakboard
Compiling the library
This library depends on the wiringPi library. Make sure to install it first (sudo apt-get install wiringpi but often it's preinstalled on raspbian).
- Compile the library by typing
makein the projects root - Copy the
libgy521.sofile to/usr/liband thelibgy521.hheader file to/usr/include - In case of an error run
ldconfigto detect the new library - have fun :)
Including the library
After you have compiled and copied the library properly just include it (#include <libgy521.h>) and compile with the flag -lgy521.
Documentation
Description
Languages
C
98.2%
Makefile
1.8%