Files
upm/src/mma8x5x/javaupm_mma8x5x.i
Norbert Wesp 12c81adeba mma8x5x: Added upm support for some MMA8X5X sensors
This commit adds support for following sensors:
MMA8652 , MMA8653, MMA8451 , MMA8452 , MMA8453
These sensors are three-axis accelerometer.

Signed-off-by: Norbert Wesp <nwesp@phytec.de>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2017-03-16 17:24:41 -07:00

19 lines
378 B
OpenEdge ABL

%module javaupm_mma8x5x
%include "../upm.i"
%{
#include "mma8x5x.hpp"
%}
%include "mma8x5x.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_mma8x5x");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}