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

The driver implements support for the Grove 3-Axis Digital Accelerometer(±400g), using the h3lis331dl chip. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
19 lines
333 B
OpenEdge ABL
19 lines
333 B
OpenEdge ABL
%module pyupm_h3lis331dl
|
|
%include "../upm.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");
|
|
|
|
#ifdef DOXYGEN
|
|
%include "h3lis331dl_doc.i"
|
|
#endif
|
|
|
|
%include "h3lis331dl.h"
|
|
%{
|
|
#include "h3lis331dl.h"
|
|
%}
|