mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
Added alt tags and missing images to grove sensors
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
This commit is contained in:
@ -30,28 +30,34 @@
|
||||
#include <mraa/gpio.hpp>
|
||||
|
||||
namespace upm {
|
||||
/**
|
||||
* @brief relay sensor library
|
||||
* @defgroup relay libupm-relay
|
||||
* @ingroup seeed gpio relay gsk eak hak
|
||||
*/
|
||||
|
||||
/**
|
||||
* @library relay
|
||||
* @defgroup relay libupm-relay
|
||||
* @sensor relay
|
||||
* @comname Grove Relay
|
||||
* @type relay
|
||||
* @man seeed
|
||||
* @con gpio
|
||||
* @kit gsk eak hak
|
||||
*
|
||||
* @brief API for the Relay
|
||||
*
|
||||
* UPM module for the relay switch. The relay is a
|
||||
* digital normally-open switch that uses low voltage or current to
|
||||
* control a higher voltage and/or higher current. When closed,
|
||||
* the indicator LED lights up and current is allowed to flow.
|
||||
*
|
||||
* @image html relay.jpg
|
||||
* @snippet relay.cxx Interesting
|
||||
*/
|
||||
class Relay{
|
||||
/**
|
||||
* @library relay
|
||||
* @sensor relay
|
||||
* @comname Relay
|
||||
* @altname Grove Relay
|
||||
* @type relay
|
||||
* @man seeed
|
||||
* @con gpio
|
||||
* @kit gsk eak hak
|
||||
*
|
||||
* @brief API for the Relay
|
||||
*
|
||||
* UPM module for the relay switch. The relay is a
|
||||
* digital normally-open switch that uses low voltage or current to
|
||||
* control a higher voltage and/or higher current. When closed,
|
||||
* the indicator LED lights up and current is allowed to flow.
|
||||
*
|
||||
* @image html relay.jpg
|
||||
* @snippet relay.cxx Interesting
|
||||
*/
|
||||
|
||||
class Relay{
|
||||
public:
|
||||
/**
|
||||
* relay constructor
|
||||
@ -92,5 +98,5 @@ class Relay{
|
||||
std::string name(){ return "Relay Switch";}
|
||||
private:
|
||||
mraa_gpio_context m_gpio;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user