mirror of
https://github.com/eclipse/upm.git
synced 2025-03-22 00:17:30 +03:00

Additionally, add some error checking in the constructor, and determine the ADC resolution and use that in the voltage calculation rather than a hardcoded 1024.0. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
9 lines
93 B
OpenEdge ABL
9 lines
93 B
OpenEdge ABL
%module jsupm_gp2y0a
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "gp2y0a.h"
|
|
%}
|
|
|
|
%include "gp2y0a.h"
|