mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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:
parent
14ede63192
commit
5d4fc3cbf5
BIN
docs/images/gprs.jpg
Normal file
BIN
docs/images/gprs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
BIN
docs/images/grovegprs.jpg
Normal file
BIN
docs/images/grovegprs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
BIN
docs/images/groveo2.jpg
Normal file
BIN
docs/images/groveo2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
docs/images/grovespeaker.jpg
Normal file
BIN
docs/images/grovespeaker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
@ -47,7 +47,7 @@ namespace upm {
|
|||||||
* collision movement or vibration happens.
|
* collision movement or vibration happens.
|
||||||
* It outputs a low pulse signal when vibration is detected.
|
* It outputs a low pulse signal when vibration is detected.
|
||||||
*
|
*
|
||||||
* @image html grovecollision.jpg
|
* @image html collision.jpg
|
||||||
* @snippet collision.cxx Interesting
|
* @snippet collision.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Collision {
|
class Collision {
|
||||||
|
@ -36,7 +36,8 @@ namespace upm {
|
|||||||
/**
|
/**
|
||||||
* @library emg
|
* @library emg
|
||||||
* @sensor emg
|
* @sensor emg
|
||||||
* @comname Grove EMG Sensor
|
* @comname EMG Sensor
|
||||||
|
* @altname Grove EMG Sensor
|
||||||
* @type electric
|
* @type electric
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con analog
|
* @con analog
|
||||||
@ -46,7 +47,7 @@ namespace upm {
|
|||||||
* Grove EMG muscle signal reader gathers small muscle signals,
|
* Grove EMG muscle signal reader gathers small muscle signals,
|
||||||
* then processes them, and returns the result
|
* then processes them, and returns the result
|
||||||
*
|
*
|
||||||
* @image html emg.jpg
|
* @image html emg.jpg
|
||||||
* @snippet emg.cxx Interesting
|
* @snippet emg.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class EMG {
|
class EMG {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
/**
|
/**
|
||||||
* @brief GPRS Module library
|
* @brief GPRS Module library
|
||||||
* @defgroup gprs libupm-gprs
|
* @defgroup gprs libupm-gprs
|
||||||
* @ingroup seeed uart wifi
|
* @ingroup seeed uart wifi
|
||||||
*/
|
*/
|
||||||
@ -48,13 +48,14 @@ namespace upm {
|
|||||||
/**
|
/**
|
||||||
* @library gprs
|
* @library gprs
|
||||||
* @sensor gprs
|
* @sensor gprs
|
||||||
* @comname GPRS Module
|
* @comname GPRS Module
|
||||||
|
* @altname Grove GPRS Module
|
||||||
* @type wifi
|
* @type wifi
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con uart
|
* @con uart
|
||||||
* @web http://www.seeedstudio.com/wiki/GPRS_Shield_V2.0
|
* @web http://www.seeedstudio.com/wiki/GPRS_Shield_V2.0
|
||||||
*
|
*
|
||||||
* @brief API for the GPRS Module
|
* @brief API for the GPRS Module
|
||||||
*
|
*
|
||||||
* The driver was tested with the GPRS Module, V2. It's a
|
* The driver was tested with the GPRS Module, V2. It's a
|
||||||
* GSM GPRS module based on the SIM900. This module uses a
|
* GSM GPRS module based on the SIM900. This module uses a
|
||||||
|
@ -45,7 +45,7 @@ namespace upm {
|
|||||||
*
|
*
|
||||||
* The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
|
* The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
|
||||||
*
|
*
|
||||||
* @image html groveo2.jpg
|
* @image html groveo2.jpg
|
||||||
* @snippet groveo2.cxx Interesting
|
* @snippet groveo2.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class GroveO2 {
|
class GroveO2 {
|
||||||
|
@ -31,6 +31,11 @@
|
|||||||
#include "led.hpp"
|
#include "led.hpp"
|
||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
/**
|
||||||
|
* @brief Led Sensor library
|
||||||
|
* @defgroup led libupm-led
|
||||||
|
* @ingroup seeed gpio led gsk
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library led
|
* @library led
|
||||||
|
@ -28,23 +28,24 @@
|
|||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
/**
|
/**
|
||||||
* @brief Line Finder Sensor library
|
* @brief Line Finder Sensor library
|
||||||
* @defgroup linefinder libupm-linefinder
|
* @defgroup linefinder libupm-linefinder
|
||||||
* @ingroup seeed gpio color robok
|
* @ingroup seeed dfrobot gpio color robok
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library linefinder
|
* @library linefinder
|
||||||
* @sensor linefinder
|
* @sensor linefinder
|
||||||
* @comname Line Finder
|
* @comname Line Finder
|
||||||
|
* @altname Grove Line Finder, DFRobot Line Tracking sensor
|
||||||
* @type color
|
* @type color
|
||||||
* @man seeed
|
* @man seeed, dfrobot
|
||||||
* @con gpio
|
* @con gpio
|
||||||
* @kit robok
|
* @kit robok
|
||||||
*
|
*
|
||||||
* @brief API for the Line Finder Sensor
|
* @brief API for the Line Finder Sensor
|
||||||
*
|
*
|
||||||
* UPM module for the Line Finder sensor. It outputs a
|
* UPM module for the Line Finder sensor. It outputs a
|
||||||
* digital signal indicating whether it is detecting black on a
|
* digital signal indicating whether it is detecting black on a
|
||||||
* white background, or white on a black background.
|
* white background, or white on a black background.
|
||||||
*
|
*
|
||||||
|
@ -43,6 +43,7 @@ namespace upm {
|
|||||||
* @library md
|
* @library md
|
||||||
* @sensor md
|
* @sensor md
|
||||||
* @comname I2C Motor Driver
|
* @comname I2C Motor Driver
|
||||||
|
* @altname Grove Motor Driver
|
||||||
* @type motor
|
* @type motor
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con i2c
|
* @con i2c
|
||||||
|
@ -52,7 +52,7 @@ namespace upm {
|
|||||||
* Note: this sensor is not designed to be left in soil
|
* Note: this sensor is not designed to be left in soil
|
||||||
* nor to be used outdoors.
|
* nor to be used outdoors.
|
||||||
*
|
*
|
||||||
* @image html grovemoisture.jpg
|
* @image html moisture.jpg
|
||||||
* @snippet moisture.cxx Interesting
|
* @snippet moisture.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Moisture {
|
class Moisture {
|
||||||
|
@ -36,7 +36,8 @@ namespace upm {
|
|||||||
/**
|
/**
|
||||||
* @library o2
|
* @library o2
|
||||||
* @sensor o2
|
* @sensor o2
|
||||||
* @comname Grove O2 Sensor
|
* @comname O2 Sensor
|
||||||
|
* @altname Grove O2 Sensor
|
||||||
* @type gaseous
|
* @type gaseous
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con analog
|
* @con analog
|
||||||
@ -45,7 +46,7 @@ namespace upm {
|
|||||||
*
|
*
|
||||||
* The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
|
* The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
|
||||||
*
|
*
|
||||||
* @image html o2.jpg
|
* @image html o2.jpg
|
||||||
* @snippet o2.cxx Interesting
|
* @snippet o2.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class O2 {
|
class O2 {
|
||||||
|
@ -30,28 +30,34 @@
|
|||||||
#include <mraa/gpio.hpp>
|
#include <mraa/gpio.hpp>
|
||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
/**
|
||||||
|
* @brief relay sensor library
|
||||||
|
* @defgroup relay libupm-relay
|
||||||
|
* @ingroup seeed gpio relay gsk eak hak
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library relay
|
* @library relay
|
||||||
* @defgroup relay libupm-relay
|
* @sensor relay
|
||||||
* @sensor relay
|
* @comname Relay
|
||||||
* @comname Grove Relay
|
* @altname Grove Relay
|
||||||
* @type relay
|
* @type relay
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con gpio
|
* @con gpio
|
||||||
* @kit gsk eak hak
|
* @kit gsk eak hak
|
||||||
*
|
*
|
||||||
* @brief API for the Relay
|
* @brief API for the Relay
|
||||||
*
|
*
|
||||||
* UPM module for the relay switch. The relay is a
|
* UPM module for the relay switch. The relay is a
|
||||||
* digital normally-open switch that uses low voltage or current to
|
* digital normally-open switch that uses low voltage or current to
|
||||||
* control a higher voltage and/or higher current. When closed,
|
* control a higher voltage and/or higher current. When closed,
|
||||||
* the indicator LED lights up and current is allowed to flow.
|
* the indicator LED lights up and current is allowed to flow.
|
||||||
*
|
*
|
||||||
* @image html relay.jpg
|
* @image html relay.jpg
|
||||||
* @snippet relay.cxx Interesting
|
* @snippet relay.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Relay{
|
|
||||||
|
class Relay{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* relay constructor
|
* relay constructor
|
||||||
@ -92,5 +98,5 @@ class Relay{
|
|||||||
std::string name(){ return "Relay Switch";}
|
std::string name(){ return "Relay Switch";}
|
||||||
private:
|
private:
|
||||||
mraa_gpio_context m_gpio;
|
mraa_gpio_context m_gpio;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,9 @@ namespace upm {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @library scam
|
* @library scam
|
||||||
* @sensor scam
|
* @sensor scam
|
||||||
* @comname Serial Camera
|
* @comname Serial Camera
|
||||||
|
* @altname Grove Serial Camera
|
||||||
* @type other
|
* @type other
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con uart
|
* @con uart
|
||||||
@ -70,7 +71,7 @@ namespace upm {
|
|||||||
* sketch.
|
* sketch.
|
||||||
*
|
*
|
||||||
* It is connected via a UART at 115,200 baud.
|
* It is connected via a UART at 115,200 baud.
|
||||||
*
|
*
|
||||||
* @image html scam.jpg
|
* @image html scam.jpg
|
||||||
* @snippet scam.cxx Interesting
|
* @snippet scam.cxx Interesting
|
||||||
*/
|
*/
|
||||||
|
@ -30,23 +30,29 @@
|
|||||||
#include <mraa/aio.hpp>
|
#include <mraa/aio.hpp>
|
||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
/**
|
||||||
|
* @brief Slide Sensor library
|
||||||
|
* @defgroup slide libupm-slide
|
||||||
|
* @ingroup seeed analog ainput
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library slide
|
* @library slide
|
||||||
* @sensor slide
|
* @sensor slide
|
||||||
* @comname Slide Potentiometer
|
* @comname Slide Potentiometer
|
||||||
* @type ainput
|
* @altname Grove Slide
|
||||||
* @man seeed
|
* @type ainput
|
||||||
* @con analog
|
* @man seeed
|
||||||
*
|
* @con analog
|
||||||
* @brief API for the Slide Potentiometer
|
*
|
||||||
*
|
* @brief API for the Slide Potentiometer
|
||||||
* Basic UPM module for the slide potentiometer on analog that
|
*
|
||||||
* returns either a raw value or a scaled voltage value.
|
* Basic UPM module for the slide potentiometer on analog that
|
||||||
*
|
* returns either a raw value or a scaled voltage value.
|
||||||
* @image html slide.jpeg
|
*
|
||||||
* @snippet slide.cxx Interesting
|
* @image html slide.jpg
|
||||||
*/
|
* @snippet slide.cxx Interesting
|
||||||
|
*/
|
||||||
class Slide {
|
class Slide {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
@ -32,11 +32,7 @@
|
|||||||
#define LOW 0
|
#define LOW 0
|
||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
/**
|
|
||||||
* @brief Speaker library
|
|
||||||
* @defgroup speaker libupm-speaker
|
|
||||||
* @ingroup seeed gpio sound hak
|
|
||||||
*/
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int delayTimeLow;
|
int delayTimeLow;
|
||||||
@ -46,10 +42,18 @@ typedef struct
|
|||||||
int delayTimeHigh;
|
int delayTimeHigh;
|
||||||
int delayTimeHighSharp;
|
int delayTimeHighSharp;
|
||||||
} NoteData;
|
} NoteData;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Speaker library
|
||||||
|
* @defgroup speaker libupm-speaker
|
||||||
|
* @ingroup seeed gpio sound hak
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @library speaker
|
* @library speaker
|
||||||
* @sensor speaker libupm-speaker
|
* @sensor speaker libupm-speaker
|
||||||
* @comname Speaker
|
* @comname Speaker
|
||||||
|
* @altname Grove Speaker
|
||||||
* @type sound
|
* @type sound
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con gpio
|
* @con gpio
|
||||||
@ -60,8 +64,8 @@ typedef struct
|
|||||||
* UPM module for the Speaker.
|
* UPM module for the Speaker.
|
||||||
* This sensor can generate different tones and sounds depending on the
|
* This sensor can generate different tones and sounds depending on the
|
||||||
* frequency of the input signal.
|
* frequency of the input signal.
|
||||||
*
|
*
|
||||||
* @image html speaker.jpg
|
* @image html speaker.jpg
|
||||||
* @snippet speaker.cxx Interesting
|
* @snippet speaker.cxx Interesting
|
||||||
*/
|
*/
|
||||||
class Speaker {
|
class Speaker {
|
||||||
|
@ -45,6 +45,7 @@ namespace upm {
|
|||||||
* @library vdiv
|
* @library vdiv
|
||||||
* @sensor vdiv
|
* @sensor vdiv
|
||||||
* @comname Voltage Divider
|
* @comname Voltage Divider
|
||||||
|
* @altname Grove Voltage Divider
|
||||||
* @type electric
|
* @type electric
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @con analog
|
* @con analog
|
||||||
|
@ -39,7 +39,8 @@ namespace upm {
|
|||||||
/**
|
/**
|
||||||
* @library wfs
|
* @library wfs
|
||||||
* @sensor wfs
|
* @sensor wfs
|
||||||
* @comname Grove Water Flow Sensor
|
* @comname Water Flow Sensor
|
||||||
|
* @altname Grove Water Flow Sensor
|
||||||
* @type liquid
|
* @type liquid
|
||||||
* @man seeed
|
* @man seeed
|
||||||
* @web http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor
|
* @web http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user