Files
upm/src/mma7361/jsupm_mma7361.i
Jon Trulson d1aa4b62f2 mma7361: Initial implementation
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>
2016-09-14 14:07:46 -07:00

15 lines
279 B
OpenEdge ABL

%module jsupm_mma7361
%include "../upm.i"
%include "std_string.i"
%include "cpointer.i"
/* Send "int *" and "float *" to JavaScript as intp and floatp */
%pointer_functions(int, intp);
%pointer_functions(float, floatp);
%include "mma7361.hpp"
%{
#include "mma7361.hpp"
%}