mirror of
https://github.com/eclipse/upm.git
synced 2025-03-25 17:59:59 +03:00

This driver implements support for the DFRobot MMA7361 analog accelerometer. It supports 3 axes with a selectable 1.5G and 6G sensitivity. It is not really meant for navigation, but rather for uses such as orientation and freefall detection. Signed-off-by: Jon Trulson <jtrulson@ics.com>
19 lines
374 B
OpenEdge ABL
19 lines
374 B
OpenEdge ABL
// Include doxygen-generated documentation
|
|
%include "pyupm_doxy2swig.i"
|
|
%module pyupm_mma7361
|
|
%include "../upm.i"
|
|
%include "std_string.i"
|
|
%include "cpointer.i"
|
|
|
|
/* Send "int *" and "float *" to python as intp and floatp */
|
|
%pointer_functions(int, intp);
|
|
%pointer_functions(float, floatp);
|
|
|
|
%feature("autodoc", "3");
|
|
|
|
%include "mma7361.hpp"
|
|
%{
|
|
#include "mma7361.hpp"
|
|
%}
|
|
|