A library for Silicon Sensing DMU02
DMU Class Reference
A DMU interface for communicating with the Silicon Sensing DMU02 Dynamics Measurement Unit. More...
#include <DMU.h>
Public Member Functions | |
DMU (PinName MOSI, PinName MISO, PinName SCLK, PinName S0, PinName S1, PinName S2) | |
Creates a DMU interface for using regular mbed pins. | |
float | acceleration (char axis) |
Return the acceleration in the direction of the selected axis. | |
float | roll () |
Return the roll. | |
float | pitch () |
Return the pitch. | |
float | yaw () |
Return the yaw. | |
void | test () |
forces the device to perform the built-in test |
Detailed Description
A DMU interface for communicating with the Silicon Sensing DMU02 Dynamics Measurement Unit.
Definition at line 10 of file DMU.h.
Constructor & Destructor Documentation
DMU | ( | PinName | MOSI, |
PinName | MISO, | ||
PinName | SCLK, | ||
PinName | S0, | ||
PinName | S1, | ||
PinName | S2 | ||
) |
Member Function Documentation
float acceleration | ( | char | axis ) |
Generated on Tue Jul 12 2022 22:29:20 by 1.7.2