mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
mma7660: python example for mma7660 accelerometer
Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
13704fffe0
commit
d8dc267fef
@ -1,5 +1,10 @@
|
||||
%module pyupm_mma7660
|
||||
%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");
|
||||
|
||||
|
Reference in New Issue
Block a user