mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 15:15:07 +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:
		 Serban Waltter
					Serban Waltter
				
			
				
					committed by
					
						 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
			
				
	
			
			
			 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
						parent
						
							bbcee52880
						
					
				
				
					commit
					c3d5d951e1
				
			| @@ -2,5 +2,6 @@ set (libname "rhusb") | ||||
| set (libdescription "Omega RH-USB Temperature and Humidity Sensor") | ||||
| set (module_src ${libname}.cxx) | ||||
| set (module_hpp ${libname}.hpp) | ||||
| set (module_iface iHumidity.hpp iTemperature.hpp) | ||||
| upm_module_init(mraa) | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,17 @@ | ||||
| #ifdef SWIGPYTHON | ||||
| %module (package="pyupm_new_interfaces") rhusb | ||||
| #endif | ||||
|  | ||||
| %import "interfaces/new_interfaces.i" | ||||
|  | ||||
| %include "../common_top.i" | ||||
|  | ||||
| /* BEGIN Java syntax  ------------------------------------------------------- */ | ||||
| #ifdef SWIGJAVA | ||||
| %typemap(javaimports) SWIGTYPE %{ | ||||
| import upm_new_interfaces.*; | ||||
| %} | ||||
|  | ||||
| %include "arrays_java.i"; | ||||
| %include "../java_buffer.i" | ||||
| JAVA_JNI_LOADLIBRARY(javaupm_rhusb) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user