68
OSD3358-SM-RED
– User Guide
Rev. 1.0 9/19/2017
Octavo Systems LLC
Copyright 2017
components on the board. The Roboticscape library (
http://strawsondesign.com/#!manual-
) that comes pre-installed on the Beagleboard images was used as a base to build the
Redperipherallib library. The library is located in
/home/debian/
folder of the Linux environment.
The structure of the library is given below:
Figure 63: Structure of Redperipherallib
•
debian
: Contains Debian specific configuration parameter files
•
examples
: Contains example programs that show how to use the peripherals onboard
•
libraries
: Contains libraries necessary to exercise the peripherals onboard
o
bmp280
: Contains functions and definitions to interface with the pressure sensor
o
gpio
: Contains functions and definitions to control the GPIOs of the board
o
math
: Contains functions and definitions to perform mathematical operations
required
o
mmap
: Contains functions and definitions to perform memory mapping
operations
o
mpu9250
: Contains functions and definitions to interface with the IMU
o
other
: Contains functions and definitions for additional features of the library
o
pwm
: Contains functions and definitions to generate a PWM
o
serial_ports
: Contains functions and definitions to perform I2C and SPI protocol
communications