rpr220: doxygen comments and adding image from seeed wiki

Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
This commit is contained in:
John Van Drasek 2015-04-14 11:52:38 -07:00
parent d70eef06ac
commit 6a315f817d
2 changed files with 32 additions and 19 deletions

BIN
docs/images/rpr220.JPG Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -29,7 +29,20 @@
namespace upm {
/**
* @brief C++ API for the RPR220 based Grove IR Reflective Sensor.
* @brief RPR220 IR Reflective Sensor library
* @defgroup rpr220 libupm-rpr220
* @ingroup seeed gpio light
*/
/**
* @library libupm-rpr220
* @sensor rpr220
* @comname rpr220 IR reflective sensor
* @type light
* @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Infrared_Reflective_Sensor
* @con gpio
*
* @brief C++ API for the RPR220 based Grove IR Reflective Sensor
*
* UPM module for the Grove IR Reflective Sensor. The sensitivity
* can be adjusted with the potentiometer on the sensor module. It
@ -42,8 +55,8 @@ namespace upm {
* Service Routine (ISR) can be installed that will be called when
* black is detected. Either method can be used, depending on your
* use case.
* @ingroup grove gpio
*
* @image html rpr220.jpeg
* @snippet rpr220.cxx Interesting
* @snippet rpr220-intr.cxx Interesting
*/