Logo
Explore Help
Register Sign In
Raspberries/upm
Public Access
2
0
Fork 0
You've already forked upm
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b3a8fd71726151115bcec6dfccf625e7ed6e285f
upm/src/rpr220/pyupm_rpr220.i

12 lines
191 B
OpenEdge ABL
Raw Normal View History

cmake: added doxygen doc content to python sensor modules Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-16 13:58:11 -08:00
// Include doxygen-generated documentation
%include "pyupm_doxy2swig.i"
rpr220: Initial implementation The module implements the RPR220 IR Reflective Sensor. It was tested with the Grove IR Reflective Sensor. It includes 2 examples: rpr220.cxx, demonstrating the simple use case of querying the current status. rpr220-intr.cxx demonstrates the use of this class to register an Interrupt Service Routine (ISR) to count transitions, which might be more appropriate for some use cases, such as measuring RPM's. 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>
2015-01-14 15:13:55 -07:00
%module pyupm_rpr220
%include "../upm.i"
%feature("autodoc", "3");
%include "rpr220.h"
%{
#include "rpr220.h"
%}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 99ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API