upm/src/mhz16/jsupm_mhz16.i
Jon Trulson 56a01322b5 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>
2015-04-01 10:03:58 -07:00

14 lines
242 B
OpenEdge ABL

%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;