mirror of
https://github.com/eclipse/upm.git
synced 2025-07-26 21:51:16 +03:00
dded bindings for iHumidity sensors.
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
bbcee52880
commit
c3d5d951e1
@ -2,4 +2,5 @@ set (libname "htu21d")
|
||||
set (libdescription "Digital Relative Humidity Sensor with Temperature")
|
||||
set (module_src ${libname}.cpp)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
set (module_iface iHumidity.hpp)
|
||||
upm_module_init(mraa)
|
||||
|
@ -1,7 +1,17 @@
|
||||
#ifdef SWIGPYTHON
|
||||
%module (package="pyupm_new_interfaces") htu21d
|
||||
#endif
|
||||
|
||||
%import "interfaces/new_interfaces.i"
|
||||
|
||||
%include "../common_top.i"
|
||||
|
||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||
#ifdef SWIGJAVA
|
||||
%typemap(javaimports) SWIGTYPE %{
|
||||
import upm_new_interfaces.*;
|
||||
%}
|
||||
|
||||
%ignore getHumidityData(float*, float*, float*);
|
||||
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_htu21d)
|
||||
|
Reference in New Issue
Block a user