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
bd8e22f1252a5a6f6b3db3302ee8c6d58b66e0d3
upm/src/rpr220/pyupm_rpr220.i

10 lines
119 B
OpenEdge ABL
Raw Normal View History

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: 100ms Template: 3ms
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