bonelib Wiki
C++ library and PERL modules for BeagleBone
Status: Pre-Alpha
Brought to you by:
janick
To make the C++ classes available to the C++ compiler, the location to the header and library files must be specified when compiling and linking your program.
$ g++ -c -I /usr/bonelib/include ... $ g++ ... -L /usr/bonelib/lib -lbone
The desired classes can be used by including the appropriate header file in your source file:
Class | Include Statement | Description |
---|---|---|
[leds.hpp] | include "bonelib/leds.hpp" | User LEDs control class |
[kbdio.hpp] | include "bonelib/kbdio.hpp" | Unbuffered keyboard input |
[gpio.hpp] | include "bonelib/gpio.hpp" | GPIO pins control class |
[pinmux.hpp] | include "bonelib/pinmux.hpp" | P8/P9 connector pins muxing |
[rgb_driver.hpp] | include "bonelib/rgb_driver.hpp" | Abstract class for a RGB device driver |
[PCD8544.hpp] | include "bonelib/PCD8544.hpp" | RGB driver for a PCD8544 |
[SSD1306.hpp] | include "bonelib/SSD1306.hpp" | RGB driver for a SSD1306 |
[gfx.hpp] | include "bonelib/gfx.hpp" | Graphics library for RGB driver |
[nunchuck.hpp] | include "bonelib/nunchuck.hpp" | Wii Nunchuck access class |
All definitions are in the BeagleBone namespace.
Wiki: Home
Wiki: PCD8544.hpp
Wiki: SSD1306.hpp
Wiki: gfx.hpp
Wiki: gpio.hpp
Wiki: kbdio.hpp
Wiki: leds.hpp
Wiki: nunchuck.hpp
Wiki: pinmux.hpp
Wiki: rgb_driver.hpp