hka5: Initial implementation

This module implements support for the DFRobot Laser PM2.5 Sensor.  It
connects to a UART at 9600 baud.  This is the only baud rate
supported.  It optionally supports Reset and Set/Sleep gpios as well.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-08-29 17:42:54 -06:00
committed by Noel Eck
parent 1b74f5335d
commit 21297e80d4
17 changed files with 1082 additions and 0 deletions

12
src/hka5/pyupm_hka5.i Normal file
View File

@@ -0,0 +1,12 @@
// Include doxygen-generated documentation
%include "pyupm_doxy2swig.i"
%module pyupm_hka5
%include "../upm.i"
%include "std_string.i"
%feature("autodoc", "3");
%include "hka5.hpp"
%{
#include "hka5.hpp"
%}