mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 19:31:15 +03:00
Added bindings for iLight sensors.
Removed old interfaces C++ examples. Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
c3d5d951e1
commit
2405f933de
@ -4,6 +4,7 @@ upm_mixed_module_init (NAME bh1750
|
||||
C_SRC bh1750.c
|
||||
CPP_HDR bh1750.hpp
|
||||
CPP_SRC bh1750.cxx
|
||||
IFACE_HDR iLight.hpp
|
||||
FTI_SRC bh1750_fti.c
|
||||
CPP_WRAPS_C
|
||||
REQUIRES mraa utilities-c)
|
||||
|
@ -1,7 +1,17 @@
|
||||
#ifdef SWIGPYTHON
|
||||
%module (package="upm") htu21d
|
||||
#endif
|
||||
|
||||
%import "interfaces/new_interfaces.i"
|
||||
|
||||
%include "../common_top.i"
|
||||
|
||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||
#ifdef SWIGJAVA
|
||||
%typemap(javaimports) SWIGTYPE %{
|
||||
import upm_new_interfaces.*;
|
||||
%}
|
||||
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_bh1750)
|
||||
#endif
|
||||
/* END Java syntax */
|
||||
|
Reference in New Issue
Block a user