mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
Modified tag names for button and rotary
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
This commit is contained in:
parent
b60ecdd559
commit
b2a291ca78
@ -32,8 +32,14 @@
|
|||||||
namespace upm {
|
namespace upm {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library button
|
* @brief Button library
|
||||||
* @sensor button libupm-button
|
* @defgroup button libupm-button
|
||||||
|
* @ingroup seeed gpio button touch gsk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @library button
|
||||||
|
* @sensor button
|
||||||
* @comname Button
|
* @comname Button
|
||||||
* @altname Grove Touch Sensor
|
* @altname Grove Touch Sensor
|
||||||
* @type button touch
|
* @type button touch
|
||||||
@ -51,13 +57,13 @@ namespace upm {
|
|||||||
class Button{
|
class Button{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Grove button constructor
|
* button constructor
|
||||||
*
|
*
|
||||||
* @param gpio Pin to use
|
* @param gpio Pin to use
|
||||||
*/
|
*/
|
||||||
Button(unsigned int pin);
|
Button(unsigned int pin);
|
||||||
/**
|
/**
|
||||||
* Grove button destructor
|
* button destructor
|
||||||
*/
|
*/
|
||||||
~Button();
|
~Button();
|
||||||
/**
|
/**
|
||||||
|
@ -33,10 +33,16 @@
|
|||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Rotary library
|
||||||
|
* @defgroup rotary libupm-rotary
|
||||||
|
* @ingroup seeed analog ainput gsk
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library rotary
|
* @library rotary
|
||||||
* @sensor rotary libupm-rotary
|
* @sensor rotary
|
||||||
* @comname Grove Rotary Angle Sensor
|
* @comname Rotary Angle Sensor
|
||||||
* @altname Rotary Potentiometer
|
* @altname Rotary Potentiometer
|
||||||
* @type ainput
|
* @type ainput
|
||||||
* @man seeed
|
* @man seeed
|
||||||
|
@ -53,7 +53,7 @@ namespace upm {
|
|||||||
* v1.0 sensor you will have to specify R0 and B values when initializing the
|
* v1.0 sensor you will have to specify R0 and B values when initializing the
|
||||||
* device. The range of this sensor is -40 to 125 C and accuracy is +/- 1.5 C.
|
* device. The range of this sensor is -40 to 125 C and accuracy is +/- 1.5 C.
|
||||||
*
|
*
|
||||||
* @image html grovetemp.jpg
|
* @image html temp.jpg
|
||||||
* @snippet temperature.cxx Interesting
|
* @snippet temperature.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Temperature {
|
class Temperature {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user