Swig: Added JavaScript and Python swig files for bme280

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Henry Bruce 2016-01-15 11:06:44 -08:00 committed by Abhishek Malik
parent 17fd502cb5
commit d642d63d21
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,8 @@
%module jsupm_bme280
%include "../upm.i"
%{
#include "bme280.h"
%}
%include "bme280.h"

10
src/bme280/pyupm_bme280.i Normal file
View File

@ -0,0 +1,10 @@
%module pyupm_bmp180
%include "../upm.i"
%include "stdint.i"
%include "bmp180.h"
%{
#include "bmp180.h"
%}