https://github.com/manuelmeraz/odroidgpio
Modern C++ wrapper around WiringPi for Odroid.
https://github.com/manuelmeraz/odroidgpio
bmo055 c cmake cpp cpp11 cpp14 cpp17 gpio i2c modern n2 odroid pin pins serial spi xu4
Last synced: 2 months ago
JSON representation
Modern C++ wrapper around WiringPi for Odroid.
- Host: GitHub
- URL: https://github.com/manuelmeraz/odroidgpio
- Owner: ManuelMeraz
- License: mit
- Created: 2020-04-04T15:30:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T16:27:37.000Z (about 5 years ago)
- Last Synced: 2025-02-12T11:14:45.703Z (4 months ago)
- Topics: bmo055, c, cmake, cpp, cpp11, cpp14, cpp17, gpio, i2c, modern, n2, odroid, pin, pins, serial, spi, xu4
- Language: C++
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OdroidGPIO
Modern C++ wrapper around WiringPi for Odroid (Tested on Linux)Installation instructions for WiringPi on the odroid
https://wiki.odroid.com/odroid-xu4/application_note/gpio/wiringpiTake a look at the examples and tests.
Installation instructions
```
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON ..
make -j6
sudo ctest
sudo make install
```In your project you can link to the library using cmake. No need to create your own cmake find package module.
```
find_package(OdroidGPIO REQUIRED)add_executable(main main.cpp)
target_link_libraries(main PRIVATE OdroidGPIO)
```