mhz16: Initial implementation
This library implements support for the MHZ16 CO2 sensor. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
This commit is contained in:
committed by
John Van Drasek
parent
4bb077e70b
commit
56a01322b5
13
src/mhz16/jsupm_mhz16.i
Normal file
13
src/mhz16/jsupm_mhz16.i
Normal file
@@ -0,0 +1,13 @@
|
||||
%module jsupm_mhz16
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
|
||||
/* Send "int *" to JavaScript as intp */
|
||||
%pointer_functions(int, intp);
|
||||
%{
|
||||
#include "mhz16.h"
|
||||
speed_t int_B9600 = B9600;
|
||||
%}
|
||||
|
||||
%include "mhz16.h"
|
||||
speed_t int_B9600 = B9600;
|
||||
Reference in New Issue
Block a user