docs: updated library descriptions and sensor names for consistency

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-06-01 15:44:07 -07:00
parent 8965d56c93
commit 14f80e779e
97 changed files with 237 additions and 246 deletions

View File

@ -38,6 +38,7 @@ namespace upm {
* @sensor a110x * @sensor a110x
* @comname A110X Hall Effect Sensor * @comname A110X Hall Effect Sensor
* @altname A1101, A1102, A1103, A1004, A1106 * @altname A1101, A1102, A1103, A1004, A1106
* @altname Grove Hall Sensor
* @type electric * @type electric
* @man seeed * @man seeed
* @web http://www.allegromicro.com/en/Products/Magnetic-Digital-Position-Sensor-ICs/Hall-Effect-Unipolar-Switches/A1101-2-3-4-6.aspx * @web http://www.allegromicro.com/en/Products/Magnetic-Digital-Position-Sensor-ICs/Hall-Effect-Unipolar-Switches/A1101-2-3-4-6.aspx

View File

@ -34,7 +34,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM support for the AD8232 Heart Rate Monitor * @brief AD8232 heart rate monitor library
* @defgroup ad8232 libupm-ad8232 * @defgroup ad8232 libupm-ad8232
* @ingroup sparkfun gpio medical * @ingroup sparkfun gpio medical
*/ */

View File

@ -38,7 +38,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the Adafruit Motor Shield 1438 * @brief Adafruit Motor Shield 1438 library
* @defgroup adafruitms1438 libupm-adafruitms1438 * @defgroup adafruitms1438 libupm-adafruitms1438
* @ingroup adafruit i2c motor * @ingroup adafruit i2c motor
*/ */

View File

@ -49,7 +49,7 @@
namespace upm { namespace upm {
/** /**
* @brief ADC121C021 I2C Analog Digital Converter library * @brief ADC121C021 I2C analog digital converter library
* @defgroup adc121c021 libupm-adc121c021 * @defgroup adc121c021 libupm-adc121c021
* @ingroup seeed i2c electric * @ingroup seeed i2c electric
*/ */
@ -73,6 +73,7 @@ namespace upm {
* @library adc121c021 * @library adc121c021
* @sensor adc121c021 * @sensor adc121c021
* @comname ADC121C021 Analog Digital Converter * @comname ADC121C021 Analog Digital Converter
* @altname Grove I2C ADC
* @type electric * @type electric
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Grove-I2C-ADC-p-1580.html * @web http://www.seeedstudio.com/depot/Grove-I2C-ADC-p-1580.html

View File

@ -84,7 +84,7 @@
namespace upm { namespace upm {
/** /**
* @brief Adis16448 * @brief ADIS16448 accelerometer library
* @defgroup adis16448 libupm-adis16488 * @defgroup adis16448 libupm-adis16488
* @ingroup generic spi accelerometer * @ingroup generic spi accelerometer
*/ */

View File

@ -44,6 +44,7 @@ namespace upm {
* @library adxl335 * @library adxl335
* @sensor adxl335 * @sensor adxl335
* @comname ADXL335 3-Axis Analog Accelerometer * @comname ADXL335 3-Axis Analog Accelerometer
* @altname Grove 3-Axis Analog Accelerometer
* @type accelerometer * @type accelerometer
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -30,7 +30,7 @@
namespace upm { namespace upm {
/** /**
* @brief Adxl345 accelerometer library * @brief ADXL345 accelerometer library
* @defgroup adxl345 libupm-adxl345 * @defgroup adxl345 libupm-adxl345
* @ingroup seeed i2c accelerometer * @ingroup seeed i2c accelerometer
*/ */
@ -38,7 +38,8 @@ namespace upm {
/** /**
* @library adxl345 * @library adxl345
* @sensor adxl345 * @sensor adxl345
* @comname Adxl345 3-Axis Digital Accelerometer * @comname ADXL345 3-Axis Digital Accelerometer
* @altname Grove 3-Axis Digital Accelerometer (16g)
* @type accelerometer * @type accelerometer
* @man seeed * @man seeed
* @con i2c * @con i2c

View File

@ -36,7 +36,7 @@ namespace upm {
/** /**
* @library apds9002 * @library apds9002
* @sensor apds9002 * @sensor apds9002
* @comname APDS-9002 * @comname APDS-9002 Luminance Sensor
* @altname Grove Luminance Sensor * @altname Grove Luminance Sensor
* @type light * @type light
* @man seeed * @man seeed

View File

@ -35,7 +35,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the Atmel AT42QT1070 QTouch sensor * @brief Atmel AT42QT1070 QTouch sensor library
* @defgroup at42qt1070 libupm-at42qt1070 * @defgroup at42qt1070 libupm-at42qt1070
* @ingroup seeed i2c touch * @ingroup seeed i2c touch
*/ */
@ -43,7 +43,8 @@ namespace upm {
/** /**
* @library at42qt1070 * @library at42qt1070
* @sensor at42qt1070 * @sensor at42qt1070
* @comname Atmel AT42QT1070 QTouch Sensor * @comname AT42QT1070 QTouch Sensor
* @altname Grove QTouch Sensor
* @type touch * @type touch
* @man seeed * @man seeed
* @con i2c * @con i2c

View File

@ -36,7 +36,8 @@ namespace upm {
/** /**
* @library biss0001 * @library biss0001
* @sensor biss0001 * @sensor biss0001
* @comname PIR Motion Sensor * @comname BISS0001 Motion Sensor
* @altname Grove PIR Motion Sensor
* @type light * @type light
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Grove-PIR-Motion-Sensor-p-802.html * @web http://www.seeedstudio.com/depot/Grove-PIR-Motion-Sensor-p-802.html

View File

@ -62,7 +62,7 @@
namespace upm { namespace upm {
/** /**
* @brief GY65/BPM085, and BMP180 atmospheric pressure sensor library * @brief Bosch BPM & GY65 atmospheric pressure sensor library
* @defgroup bmpx8x libupm-bmpx8x * @defgroup bmpx8x libupm-bmpx8x
* @ingroup seeed adafruit sparkfun i2c pressure * @ingroup seeed adafruit sparkfun i2c pressure
*/ */
@ -70,7 +70,7 @@ namespace upm {
/** /**
* @library bmpx8x * @library bmpx8x
* @sensor bmpx8x * @sensor bmpx8x
* @comname Bosch BMP Atmospheric Pressure Sensor * @comname BMP Atmospheric Pressure Sensor
* @altname GY65 BMP085 BMP180 BMP183 * @altname GY65 BMP085 BMP180 BMP183
* @type pressure * @type pressure
* @man seeed adafruit sparkfun * @man seeed adafruit sparkfun

View File

@ -43,7 +43,7 @@
namespace upm { namespace upm {
/** /**
* @brief DS1307 Real Time CLock library * @brief DS1307 real-time clock library
* @defgroup ds1307 libupm-ds1307 * @defgroup ds1307 libupm-ds1307
* @ingroup seeed i2c time * @ingroup seeed i2c time
*/ */
@ -51,8 +51,8 @@ namespace upm {
/** /**
* @library ds1307 * @library ds1307
* @sensor ds1307 * @sensor ds1307
* @comname Grove RTC (Real Time Clock) * @comname Grove RTC (Real-Time Clock)
* @altname DS1307 * @altname DS1307 RTC
* @type time * @type time
* @man seeed * @man seeed
* @con i2c * @con i2c

View File

@ -37,8 +37,8 @@ namespace upm {
/** /**
* @library enc03r * @library enc03r
* @sensor enc03r * @sensor enc03r
* @comname Grove Single Axis Analog Gyro * @comname ENC03R Single Axis Gyro
* @altname ENC03R * @altname Grove Single Axis Analog Gyro
* @type compass * @type compass
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the Spectra Symbol Flex sensor * @brief Spectra Symbol Flex sensor library
* @defgroup flex libupm-flex * @defgroup flex libupm-flex
* @ingroup sparkfun analog flexfor * @ingroup sparkfun analog flexfor
*/ */
@ -37,7 +37,7 @@ namespace upm {
/** /**
* @library flex * @library flex
* @sensor flex * @sensor flex
* @comname Spectra Symbol Flex sensor * @comname Flex Sensor
* @type flexfor * @type flexfor
* @man sparkfun * @man sparkfun
* @con analog * @con analog

View File

@ -35,7 +35,7 @@ struct thresholdContext {
namespace upm { namespace upm {
/** /**
* @brief Gas Sensor Library * @brief Gas sensor library
* *
* Sensor Library for air quality and gas detecting sensors. Base class Gas provides buffered * Sensor Library for air quality and gas detecting sensors. Base class Gas provides buffered
* sampling, threshold checking, a basic printing function and a standard read function. * sampling, threshold checking, a basic printing function and a standard read function.

View File

@ -31,12 +31,12 @@ namespace upm {
/** /**
* @library gas * @library gas
* @sensor mq2 * @sensor mq2
* @comname Grove MQ2 gas sensor * @comname Grove MQ2 Gas Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con analog * @con analog
* *
* @brief API for MQ2 gas sensor * @brief API for MQ2 Gas Sensor
* *
* The Grove - Gas Sensor (MQ2) module is useful for gas leakage detecting * The Grove - Gas Sensor (MQ2) module is useful for gas leakage detecting
* (in home and industry). It can detect LPG, i-butane, methane, alcohol, * (in home and industry). It can detect LPG, i-butane, methane, alcohol,

View File

@ -31,12 +31,12 @@ namespace upm {
/** /**
* @library gas * @library gas
* @sensor mq3 * @sensor mq3
* @comname Grove MQ3 gas sensor * @comname Grove MQ3 Gas Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con analog * @con analog
* *
* @brief API for MQ3 gas sensor * @brief API for MQ3 Gas Sensor
* *
* The Grove MQ3 Gas Sensor module is useful for gas leakage detecting (in * The Grove MQ3 Gas Sensor module is useful for gas leakage detecting (in
* home and industry). It can detect Alcohol Vapour and Benzine. It's * home and industry). It can detect Alcohol Vapour and Benzine. It's

View File

@ -31,12 +31,12 @@ namespace upm {
/** /**
* @library gas * @library gas
* @sensor mq5 * @sensor mq5
* @comname Grove MQ5 gas sensor * @comname Grove MQ5 Gas Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con analog * @con analog
* *
* @brief API for MQ5 gas sensor * @brief API for MQ5 Gas Sensor
* *
* The Grove - Gas Sensor (MQ5) module is useful for gas leakage detecting * The Grove - Gas Sensor (MQ5) module is useful for gas leakage detecting
* (in home and industry). It can detect LPG, natural gas, town gas and so * (in home and industry). It can detect LPG, natural gas, town gas and so

View File

@ -31,12 +31,12 @@ namespace upm {
/** /**
* @library gas * @library gas
* @sensor mq9 * @sensor mq9
* @comname Grove MQ9 gas sensor * @comname Grove MQ9 Gas Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con analog * @con analog
* *
* @brief API for MQ9 gas sensor * @brief API for MQ9 Gas Sensor
* *
* The Grove MQ9 Gas Sensor module is useful for gas leakage detecting (in * The Grove MQ9 Gas Sensor module is useful for gas leakage detecting (in
* home and industry). It can detect Carbon Monoxide, Coal Gas and * home and industry). It can detect Carbon Monoxide, Coal Gas and

View File

@ -32,7 +32,7 @@ namespace upm {
* @library gas * @library gas
* @sensor tp401 * @sensor tp401
* @comname Grove Air Quality Sensor * @comname Grove Air Quality Sensor
* @altname TP401 * @altname TP401 Gas Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the GP2Y0A family of IR Proximity Sensors * @brief GP2Y0A based IR proximity sensor library
* @defgroup gp2y0a libupm-gp2y0a * @defgroup gp2y0a libupm-gp2y0a
* @ingroup seeed analog light * @ingroup seeed analog light
*/ */
@ -37,7 +37,8 @@ namespace upm {
/** /**
* @library gp2y0a * @library gp2y0a
* @sensor gp2y0a * @sensor gp2y0a
* @comname GP2Y0A family of IR Proximity Sensors * @comname GP2Y0A IR Proximity Sensor
* @altname Grove 80cm IR Proximity Sensor
* @type light * @type light
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -33,7 +33,7 @@
* @con gpio * @con gpio
* @kit gsk * @kit gsk
* *
* @brief API for Grove button * @brief API for Grove Button
* *
* Very basic UPM module for Grove button * Very basic UPM module for Grove button
* *

View File

@ -32,7 +32,7 @@
* @con analog * @con analog
* @kit gsk * @kit gsk
* *
* @brief API for Grove light sensor * @brief API for Grove Light Sensor
* *
* The Grove light sensor detects the intensity of the ambient light. * The Grove light sensor detects the intensity of the ambient light.
* As the light intensity of the environment increases, the resistance * As the light intensity of the environment increases, the resistance

View File

@ -27,6 +27,7 @@
* @library grove * @library grove
* @sensor groverotary * @sensor groverotary
* @comname Grove Rotary Angle Sensor * @comname Grove Rotary Angle Sensor
* @altname Rotary Potentiometer
* @type ainput * @type ainput
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -32,7 +32,7 @@
* @con analog * @con analog
* @kit gsk * @kit gsk
* *
* @brief API for Grove temperature sensor * @brief API for Grove Temperature Sensor
* *
* Very basic UPM module for Grove temperature sensor on analog * Very basic UPM module for Grove temperature sensor on analog
* *

View File

@ -27,7 +27,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Collision Sensor * @brief Grove Collision sensor library
* @defgroup grovecollision libupm-grovecollision * @defgroup grovecollision libupm-grovecollision
* @ingroup seeed gpio accelerometer * @ingroup seeed gpio accelerometer
*/ */

View File

@ -30,7 +30,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove El Driver Module * @brief Grove El Driver module library
* @defgroup groveeldriver libupm-groveeldriver * @defgroup groveeldriver libupm-groveeldriver
* @ingroup seeed gpio electric * @ingroup seeed gpio electric
*/ */

View File

@ -30,7 +30,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Electromagnet * @brief Grove Electromagnet library
* @defgroup groveelectromagnet libupm-groveelectromagnet * @defgroup groveelectromagnet libupm-groveelectromagnet
* @ingroup seeed gpio electric * @ingroup seeed gpio electric
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the GroveEMG Muscle Signal reader sensor * @brief GroveEMG Muscle Signal reader sensor library
* @defgroup groveemg libupm-groveemg * @defgroup groveemg libupm-groveemg
* @ingroup seeed analog electric * @ingroup seeed analog electric
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the GroveGSR Galvanic Skin Response Sensor * @brief GroveGSR Galvanic Skin Response sensor library
* @defgroup grovegsr libupm-grovegsr * @defgroup grovegsr libupm-grovegsr
* @ingroup seeed analog electric * @ingroup seeed analog electric
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Line Finder * @brief Grove Line Finder sensor library
* @defgroup grovelinefinder libupm-grovelinefinder * @defgroup grovelinefinder libupm-grovelinefinder
* @ingroup seeed gpio color * @ingroup seeed gpio color
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Loudness Sensor * @brief Grove Loudness sensor library
* @defgroup groveloudness libupm-groveloudness * @defgroup groveloudness libupm-groveloudness
* @ingroup seeed analog sound * @ingroup seeed analog sound
*/ */

View File

@ -34,7 +34,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the Grove I2C Motor Driver * @brief Grove I2C motor driver library
* @defgroup grovemd libupm-grovemd * @defgroup grovemd libupm-grovemd
* @ingroup seeed i2c motor * @ingroup seeed i2c motor
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Moisture Sensor * @brief Grove Moisture sensor library
* @defgroup grovemoisture libupm-grovemoisture * @defgroup grovemoisture libupm-grovemoisture
* @ingroup seeed analog liquid * @ingroup seeed analog liquid
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the GroveO2 Oxygen Gas Sensor * @brief GroveO2 Oxygen Gas Sensor library
* @defgroup groveo2 libupm-groveo2 * @defgroup groveo2 libupm-groveo2
* @ingroup seeed analog gaseous * @ingroup seeed analog gaseous
*/ */

View File

@ -48,9 +48,9 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Serial Camera * @brief Grove Serial Camera library
* @defgroup grovescam libupm-grovescam * @defgroup grovescam libupm-grovescam
* @ingroup seeed serial * @ingroup seeed serial
*/ */
/** /**
@ -131,7 +131,7 @@ namespace upm {
* setup the proper tty i/o modes and the baudrate. The default * setup the proper tty i/o modes and the baudrate. The default
* baud rate is 9600 (B9600) for this device. * baud rate is 9600 (B9600) for this device.
* *
* @param baud the desired baud rate. * @param baud the desired baud rate.
* @return true if successful * @return true if successful
*/ */
bool setupTty(speed_t baud=B115200); bool setupTty(speed_t baud=B115200);

View File

@ -33,7 +33,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Speaker * @brief Grove Speaker library
* @defgroup grovespeaker libupm-grovespeaker * @defgroup grovespeaker libupm-grovespeaker
* @ingroup seeed gpio sound * @ingroup seeed gpio sound
*/ */

View File

@ -36,7 +36,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Voltage Divider * @brief Grove Voltage Divider sensor library
* @defgroup grovevdiv libupm-grovevdiv * @defgroup grovevdiv libupm-grovevdiv
* @ingroup seeed analog electric * @ingroup seeed analog electric
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the Grove Water Sensor * @brief Grove Water sensor library
* @defgroup grovewater libupm-grovewater * @defgroup grovewater libupm-grovewater
* @ingroup seeed gpio liquid * @ingroup seeed gpio liquid
*/ */

View File

@ -31,7 +31,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM module for the Grove Water Flow sensor * @brief Grove Water Flow sensor library
* @defgroup grovewfs libupm-grovewfs * @defgroup grovewfs libupm-grovewfs
* @ingroup seeed gpio liquid * @ingroup seeed gpio liquid
*/ */

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the GUVA-S12D Sensor * @brief GUVA-S12D UV sensor library
* @defgroup guvas12d libupm-guvas12d * @defgroup guvas12d libupm-guvas12d
* @ingroup seeed analog light * @ingroup seeed analog light
*/ */
@ -37,7 +37,7 @@ namespace upm {
* @library guvas12d * @library guvas12d
* @sensor guvas12d * @sensor guvas12d
* @comname Grove UV Sensor * @comname Grove UV Sensor
* @altname GUVA-S12D * @altname GUVA-S12D UV Sensor
* @type light * @type light
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -32,7 +32,7 @@
namespace upm { namespace upm {
/** /**
* @brief Grove 3-axis I2C Accelerometer (400G) * @brief H3LIS331DL I2C accelerometer (400g) library
* @defgroup h3lis331dl libupm-h3lis331dl * @defgroup h3lis331dl libupm-h3lis331dl
* @ingroup seeed i2c accelerometer * @ingroup seeed i2c accelerometer
*/ */
@ -40,14 +40,16 @@ namespace upm {
/** /**
* @library h3lis331dl * @library h3lis331dl
* @sensor h3lis331dl * @sensor h3lis331dl
* @comname Grove 3-axis I2C Accelerometer (400G) * @comname H3LIS331DL 3-Axis Digital Accelerometer
* @altname Grove 3-Axis Digital Accelerometer (400g)
* @type accelerometer * @type accelerometer
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer400g-p-1897.html * @web http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer400g-p-1897.html
* @con i2c * @con i2c
* *
* @brief API for the H3LIS331DL based Grove 3-axis I2C Accelerometer * @brief API for the H3LIS331DL based Grove 3-axis I2C (400G)
* (400G) *
* This is a high performance, high range accelerometer for extreme applications.
* *
* @image html h3lis331dl.jpg * @image html h3lis331dl.jpg
* @snippet h3lis331dl.cxx Interesting * @snippet h3lis331dl.cxx Interesting

View File

@ -47,7 +47,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the HM-11 Bluetooth 4.0 Low Energy Module * @brief HM-11 Bluetooth 4.0 Low Energy module library
* @defgroup hm11 libupm-hm11 * @defgroup hm11 libupm-hm11
* @ingroup seeed serial wifi * @ingroup seeed serial wifi
*/ */
@ -55,8 +55,9 @@ namespace upm {
/** /**
* @library hm11 * @library hm11
* @sensor hm11 * @sensor hm11
* @comname HM-11 Bluetooth 4.0 Low Energy Module * @comname HM-11 Bluetooth Low Energy
* @altname HM-10, HM-12 * @altname HM-10, HM-12
* @altname Grove BLE
* @category wifi * @category wifi
* @manufacturer seeed * @manufacturer seeed
* @connection uart * @connection uart
@ -73,7 +74,7 @@ namespace upm {
* *
* It is connected via a UART at 9600 baud. * It is connected via a UART at 9600 baud.
* *
* @image html hm11.jpg * @image html hm11.jpg
* @snippet hm11.cxx Interesting * @snippet hm11.cxx Interesting
*/ */
@ -125,7 +126,7 @@ namespace upm {
* setup the proper tty i/o modes and the baudrate. The default * setup the proper tty i/o modes and the baudrate. The default
* baud rate is 9600 (B9600) for this device. * baud rate is 9600 (B9600) for this device.
* *
* @param baud the desired baud rate. * @param baud the desired baud rate.
* @return true if successful * @return true if successful
*/ */
bool setupTty(speed_t baud=B9600); bool setupTty(speed_t baud=B9600);

View File

@ -39,7 +39,8 @@ namespace upm {
/** /**
* @library hmc5883l * @library hmc5883l
* @sensor hmc5883l * @sensor hmc5883l
* @comname Hmc5883l 3-Axis Digital Compass * @comname HMC5883L 3-Axis Digital Compass
* @altname Grove 3-Axis Digital Compass
* @type compass * @type compass
* @man seeed * @man seeed
* @con i2c * @con i2c

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the HT9170 DTMF Decoder * @brief HT9170 DTMF decoder library
* @defgroup ht9170 libupm-ht9170 * @defgroup ht9170 libupm-ht9170
* @ingroup seeed gpio other * @ingroup seeed gpio other
*/ */

View File

@ -37,7 +37,7 @@ namespace upm {
/** /**
* @library hx711 * @library hx711
* @sensor hx711 * @sensor hx711
* @comname HX711 24bit Analog-to-Digital Converter * @comname HX711 Analog-to-Digital Converter
* @type electric * @type electric
* @man generic * @man generic
* @web http://www.dfrobot.com/image/data/SEN0160/hx711_english.pdf * @web http://www.dfrobot.com/image/data/SEN0160/hx711_english.pdf

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the INA132 Differential Amplifier Sensor * @brief INA132 differential amplifier sensor library
* @defgroup ina132 libupm-ina132 * @defgroup ina132 libupm-ina132
* @ingroup seeed analog electric * @ingroup seeed analog electric
*/ */
@ -36,7 +36,7 @@ namespace upm {
* @library ina132 * @library ina132
* @sensor ina132 * @sensor ina132
* @comname Grove Differential Amplifier * @comname Grove Differential Amplifier
* @altname INA132 * @altname INA132
* @type electric * @type electric
* @man seeed * @man seeed
* @con analog * @con analog

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM support for the ISD1820 based Grove Recorder * @brief ISD1820 recorder module library
* @defgroup isd1820 libupm-isd1820 * @defgroup isd1820 libupm-isd1820
* @ingroup seeed gpio sound * @ingroup seeed gpio sound
*/ */
@ -37,7 +37,8 @@ namespace upm {
/** /**
* @library libupm-isd1820 * @library libupm-isd1820
* @sensor isd1820 * @sensor isd1820
* @comname Grove Recorder v1.0 * @comname Grove Recorder
* @altname ISD1820 Recorder
* @type sound * @type sound
* @man seeed * @man seeed
* @con gpio * @con gpio

View File

@ -30,7 +30,7 @@
namespace upm { namespace upm {
/** /**
* @brief Itg3200 gyroscope library * @brief ITG3200 gyroscope library
* @defgroup itg3200 libupm-itg3200 * @defgroup itg3200 libupm-itg3200
* @ingroup seeed i2c compass * @ingroup seeed i2c compass
*/ */
@ -38,12 +38,13 @@ namespace upm {
/** /**
* @library itg3200 * @library itg3200
* @sensor itg3200 * @sensor itg3200
* @comname Itg3200 3-Axis Digital Gyroscope * @comname ITG3200 3-Axis Digital Gyroscope
* @altname Grove 3-Axis Digital Gyroscope
* @type compass * @type compass
* @man seeed * @man seeed
* @con i2c * @con i2c
* *
* @brief API for Itg3200 (3-axis digital gyroscope) * @brief API for Itg3200 (3-Axis Digital Gyroscope)
* *
* The InvenSense Itg3200 is a 3-axis digital gyroscope. * The InvenSense Itg3200 is a 3-axis digital gyroscope.
* (https://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf) * (https://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf)

View File

@ -45,9 +45,10 @@ namespace upm {
* *
* @brief API for Elecfreaks Joystick v 1.2-1.4 breakout * @brief API for Elecfreaks Joystick v 1.2-1.4 breakout
* *
* This file defines the Joystick API and implemntation for X, Y * This file defines the Joystick API and implementation for X, Y
* button could be treated as normal GPIO, this enables easier * button could be treated as normal GPIO, this enables easier
* interrupt support * interrupt support. This driver should be compatible with any
* 2 axis analog joystick.
* *
* @image html joystick12.jpg * @image html joystick12.jpg
* @snippet joystick12-example.cxx Interesting * @snippet joystick12-example.cxx Interesting

View File

@ -34,7 +34,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the L298 Dual H-Bridge Motor Driver * @brief L298 dual H-bridge motor driver library
* @defgroup l298 libupm-l298 * @defgroup l298 libupm-l298
* @ingroup seeed sparkfun gpio pwm motor * @ingroup seeed sparkfun gpio pwm motor
*/ */

View File

@ -76,7 +76,7 @@ const uint8_t LCD_RW = 0x02; // Read/Write bit
const uint8_t LCD_RS = 0x01; // Register select bit const uint8_t LCD_RS = 0x01; // Register select bit
/** /**
* @brief i2c LCD display library * @brief I2C LCD display library
* @defgroup i2clcd libupm-i2clcd * @defgroup i2clcd libupm-i2clcd
* @ingroup seeed sparkfun adafruit i2c display gsk * @ingroup seeed sparkfun adafruit i2c display gsk
*/ */

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief LDT0-028 Piezo Vibration sensor library * @brief LDT0-028 piezo vibration sensor library
* @defgroup ldt0028 libupm-ldt0028 * @defgroup ldt0028 libupm-ldt0028
* @ingroup seeed analog flexfor * @ingroup seeed analog flexfor
*/ */

View File

@ -49,7 +49,7 @@ namespace upm {
* *
* @brief API for Olimex LoL array * @brief API for Olimex LoL array
* *
* This file defines the LoL API and implemntation for a simple framebuffer * This file defines the LoL API and implementation for a simple frame buffer.
* *
* @snippet lol-example.cxx Interesting * @snippet lol-example.cxx Interesting
*/ */

View File

@ -76,7 +76,7 @@ namespace upm {
* @web http://www.seeedstudio.com/wiki/Grove_-_6-Axis_Accelerometer%26Compass * @web http://www.seeedstudio.com/wiki/Grove_-_6-Axis_Accelerometer%26Compass
* @con i2c * @con i2c
* *
* @brief API for LSM303 * @brief API for LSM303 Accelerometer & Compass
* *
* This file defines the LSM303DLH 3-axis magnetometer/3-axis accelerometer. * This file defines the LSM303DLH 3-axis magnetometer/3-axis accelerometer.
* This module was tested with the SeedStudio Grove [6-Axis Accelerometer&Compass] * This module was tested with the SeedStudio Grove [6-Axis Accelerometer&Compass]

View File

@ -34,19 +34,19 @@
namespace upm { namespace upm {
/** /**
* @brief max31723 temperature sensor library * @brief MAX31723 temperature sensor library
* @defgroup max31723 libupm-max31723 * @defgroup max31723 libupm-max31723
* @ingroup maxim spi temperature * @ingroup maxim spi temperature
*/ */
/** /**
* @library max31723 * @library max31723
* @sensor max31723 * @sensor max31723
* @comname max31723 temperature sensor * @comname MAX31723 Temperature Sensor
* @type temperature * @type temperature
* @man maxim * @man maxim
* @con spi * @con spi
* *
* @brief API for MAX31723 chip (Temperature sensor) * @brief API for MAX31723 chip (Temperature Sensor)
* *
* The Maxim Integrated * The Maxim Integrated
* [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf) * [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf)

View File

@ -30,19 +30,19 @@
namespace upm { namespace upm {
/** /**
* @brief max31855 thermocouple library * @brief MAX31855 thermocouple library
* @defgroup max31855 libupm-max31855 * @defgroup max31855 libupm-max31855
* @ingroup maxim spi other * @ingroup maxim adafruit spi other
*/ */
/** /**
* @library max31855 * @library max31855
* @sensor max31855 * @sensor max31855
* @comname max31855 thermocouple library * @comname MAX31855 Thermocouple Amplifier
* @type other * @type other
* @man maxim * @man maxim adafruit
* @con spi * @con spi
* *
* @brief API for MAX31855 * @brief API for MAX31855 Thermocouple Amplifier
* *
* The Maxim Integrated * The Maxim Integrated
* [MAX31855](http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf) * [MAX31855](http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf)

View File

@ -53,14 +53,14 @@
namespace upm { namespace upm {
/** /**
* @brief max44000 proxmity sensor library * @brief MAX44000 proximity sensor library
* @defgroup max44000 libupm-max44000 * @defgroup max44000 libupm-max44000
* @ingroup maxim i2c light * @ingroup maxim i2c light
*/ */
/** /**
* @library max44000 * @library max44000
* @sensor max44000 * @sensor max44000
* @comname max44000 proximity sensor * @comname MAX44000 Proximity Sensor
* @type light * @type light
* @man maxim * @man maxim
* @con i2c * @con i2c

View File

@ -34,19 +34,19 @@
namespace upm { namespace upm {
/** /**
* @brief max5847 digital potentiometer library * @brief MAX5487 digital potentiometer library
* @defgroup max5847 libupm-max5847 * @defgroup max5487 libupm-max5487
* @ingroup maxim spi digipot * @ingroup maxim spi digipot
*/ */
/** /**
* @library max5847 * @library max5487
* @sensor max5847 * @sensor max5487
* @comname max5847 potentiometer sensor * @comname MAX5487 Digital Potentiometer
* @type digipot * @type digipot
* @man maxim * @man maxim
* @con spi * @con spi
* *
* @brief API for MAX5487 chip (SPI digital potentionmeter) * @brief API for MAX5487 chip (SPI digital potentiometer)
* *
* The Maxim Integrated * The Maxim Integrated
* [MAX5487](http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf) * [MAX5487](http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf)
@ -55,7 +55,7 @@ namespace upm {
* PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX5487PMB1.pdf) * PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX5487PMB1.pdf)
* from the analog PMOD kit. * from the analog PMOD kit.
* *
* @snippet max5847.cxx Interesting * @snippet max5487.cxx Interesting
*/ */
class MAX5487 { class MAX5487 {
public: public:

View File

@ -63,21 +63,21 @@ struct Time3231 {
}; };
/** /**
* @brief maxds3231m proximity sensor library * @brief MAXDS3231M proximity sensor library
* @defgroup maxds3231m libupm-maxds3231m * @defgroup maxds3231m libupm-maxds3231m
* @ingroup maxim i2c light * @ingroup maxim i2c light
*/ */
/** /**
* @library maxds3231m * @library maxds3231m
* @sensor maxds3231m * @sensor maxds3231m
* @comname maxds3231m proximity sensor * @comname MAXDS3231M Real-Time Clock
* @type light * @type light
* @man maxim * @man maxim
* @con i2c * @con i2c
* *
* @brief API for MAXDS3231M chip (Ambient and Infrared Proximity Sensor) * @brief API for MAXDS3231M chip (I2C Real-Time Clock)
* *
* This file defines the maxds3231m interface for maxds3231m * This file defines the API for maxds3231m
* *
* @snippet maxds3231m.cxx Interesting * @snippet maxds3231m.cxx Interesting
*/ */

View File

@ -32,7 +32,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the MaxSonar-EZ family of ultrasonic rangers * @brief MaxSonar-EZ family of ultrasonic rangers library
* @defgroup maxsonarez libupm-maxsonarez * @defgroup maxsonarez libupm-maxsonarez
* @ingroup seeed analog sound * @ingroup seeed analog sound
*/ */
@ -40,7 +40,7 @@ namespace upm {
/** /**
* @library maxsonarez * @library maxsonarez
* @sensor maxsonarez * @sensor maxsonarez
* @comname LV-MaxSonar-EZ family of ultrasonic rangers * @comname LV-MaxSonar-EZ Ultrasonic Ranger
* @altname EZ1, EZ2, EZ3, EZ4 * @altname EZ1, EZ2, EZ3, EZ4
* @type sound * @type sound
* @man sparkfun * @man sparkfun

View File

@ -55,8 +55,9 @@ namespace upm {
/** /**
* @library mhz16 * @library mhz16
* @sensor mhz16 * @sensor mhz16
* @comname Grove CO2 sensor * @comname Grove CO2 Sensor
* @altname MHZ16 Serial CO2 Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @con uart * @con uart
@ -67,14 +68,14 @@ namespace upm {
* *
* It's CO2 detection ranges from 0PPM to 2000PPM. It requires a * It's CO2 detection ranges from 0PPM to 2000PPM. It requires a
* 2-3 minute warm up time before reporting valid data. * 2-3 minute warm up time before reporting valid data.
* *
* @image html mhz16.jpg * @image html mhz16.jpg
* @snippet mhz16.cxx Interesting * @snippet mhz16.cxx Interesting
*/ */
class MHZ16 { class MHZ16 {
public: public:
/** /**
* MHZ16 module constructor * MHZ16 module constructor
* *
@ -120,7 +121,7 @@ namespace upm {
* setup the proper tty i/o modes and the baudrate. The default * setup the proper tty i/o modes and the baudrate. The default
* baud rate is 9600 (B9600). * baud rate is 9600 (B9600).
* *
* @param baud the desired baud rate. * @param baud the desired baud rate.
* @return true if successful * @return true if successful
*/ */
bool setupTty(speed_t baud=B9600); bool setupTty(speed_t baud=B9600);

View File

@ -36,7 +36,7 @@ struct thresholdContext {
namespace upm { namespace upm {
/** /**
* @brief Analog Microphone library * @brief Analog microphone library
* @defgroup mic libupm-mic * @defgroup mic libupm-mic
* @ingroup seeed pwm sound gsk * @ingroup seeed pwm sound gsk
*/ */
@ -44,6 +44,7 @@ namespace upm {
* @library mic * @library mic
* @sensor mic * @sensor mic
* @comname Analog Microphone * @comname Analog Microphone
* @altname Grove Sound Sensor
* @type sound * @type sound
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Sound_Sensors * @web http://www.seeedstudio.com/wiki/Grove_-_Sound_Sensors

View File

@ -53,14 +53,14 @@
namespace upm { namespace upm {
/** /**
* @brief mlx90614 temperature sensor library * @brief MLX90614 temperature sensor library
* @defgroup mlx90614 libupm-mlx90614 * @defgroup mlx90614 libupm-mlx90614
* @ingroup generic i2c temperature * @ingroup generic i2c temperature
*/ */
/** /**
* @library mlx90614 * @library mlx90614
* @sensor mlx90614 * @sensor mlx90614
* @comname mlx90614 temperature sensor * @comname MLX90614 Temperature Sensor
* @type temperature * @type temperature
* @man generic * @man generic
* @con i2c * @con i2c

View File

@ -150,14 +150,14 @@ union accelData {
#define BIT(n) (1<<n) #define BIT(n) (1<<n)
/** /**
* @brief mma7455 accelerometer library * @brief MMA7455 accelerometer library
* @defgroup mma7455 libupm-mma7455 * @defgroup mma7455 libupm-mma7455
* @ingroup generic i2c accelerometer * @ingroup generic i2c accelerometer
*/ */
/** /**
* @library mma7455 * @library mma7455
* @sensor mma7455 * @sensor mma7455
* @comname mma7455 accelerometer library * @comname MMA7455 Accelerometer Sensor
* @type accelerometer * @type accelerometer
* @man generic * @man generic
* @con i2c * @con i2c

View File

@ -35,14 +35,15 @@ namespace upm {
/** /**
* @brief MMA7660 I2C 3-axis digital accelerometer library * @brief MMA7660 I2C 3-axis digital accelerometer library
* @defgroup mma7660 libupm-mma7660 * @defgroup mma7660 libupm-mma7660
* @ingroup generic i2c gpio accelerometer * @ingroup seeed i2c gpio accelerometer
*/ */
/** /**
* @library mma7660 * @library mma7660
* @sensor mma7660 * @sensor mma7660
* @comname mma7660 I2C 3-axis digital accelerometer * @comname MMA7660 3-Axis Digital Accelerometer
* @altname Grove 3-Axis Digital Accelerometer (1.5g)
* @type accelerometer * @type accelerometer
* @man generic * @man seeed
* @con i2c gpio * @con i2c gpio
* *
* @brief API for the MMA7660 I2C 3-axis digital accelerometer * @brief API for the MMA7660 I2C 3-axis digital accelerometer

View File

@ -56,14 +56,14 @@
namespace upm { namespace upm {
/** /**
* @brief mpl3115a2 Atmospheric Pressure library * @brief MPL3115A2 atmospheric pressure library
* @defgroup mpl3115a2 libupm-mpl3115a2 * @defgroup mpl3115a2 libupm-mpl3115a2
* @ingroup freescale i2c pressure * @ingroup freescale i2c pressure
*/ */
/** /**
* @library mpl3115a2 * @library mpl3115a2
* @sensor mpl3115a2 * @sensor mpl3115a2
* @comname mpl3115a2 Atmospheric Pressure * @comname MPL3115A2 Atmospheric Pressure Sensor
* @type pressure * @type pressure
* @man freescale * @man freescale
* @web http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPL3115A2 * @web http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPL3115A2

View File

@ -30,25 +30,16 @@
#define MPR121_DEFAULT_I2C_ADDR 0x5a #define MPR121_DEFAULT_I2C_ADDR 0x5a
namespace upm { namespace upm {
/** /**
* @brief API for the MPR121 I2C touch sensor * @brief MPR121 touch sensor library
*
* UPM module for the MPR121 touch sensor
*
* @ingroup i2c mpr121
* @snippet mpr121.cxx Interesting
*/
/**
* @brief mpr121 Touch Sensor library
* @defgroup mpr121 libupm-mpr121 * @defgroup mpr121 libupm-mpr121
* @ingroup seeed i2c touch * @ingroup seeed i2c touch
*/ */
/** /**
* @library mpr121 * @library mpr121
* @sensor mpr121 * @sensor mpr121
* @comname mpr121 touch sensor * @comname MPR121 Touch Sensor
* @altname Grove I2C Touch Sensor
* @type touch * @type touch
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_I2C_Touch_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_I2C_Touch_Sensor

View File

@ -109,14 +109,15 @@ struct AxisData {
}; };
/** /**
* @brief mpu9150 accelerometer library * @brief MPU9150 accelerometer library
* @defgroup mpu9150 libupm-mpu9150 * @defgroup mpu9150 libupm-mpu9150
* @ingroup seeed i2c accelerometer compass * @ingroup seeed i2c accelerometer compass
*/ */
/** /**
* @library mpu9150 * @library mpu9150
* @sensor mpu9150 * @sensor mpu9150
* @comname mpu9150 accelerometer library * @comname MPU9150 Inertial Measurement Unit
* @altname Grove IMU 9DOF
* @type accelerometer compass * @type accelerometer compass
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_IMU_9DOF_v1.0 * @web http://www.seeedstudio.com/wiki/Grove_-_IMU_9DOF_v1.0

View File

@ -29,14 +29,15 @@
namespace upm { namespace upm {
/** /**
* @brief mq303a Alcohol Sensor library * @brief MQ303A alcohol sensor library
* @defgroup mq303a libupm-mq303a * @defgroup mq303a libupm-mq303a
* @ingroup seeed analog gpio gaseous * @ingroup seeed analog gpio gaseous
*/ */
/** /**
* @library mq303a * @library mq303a
* @sensor mq303a * @sensor mq303a
* @comname mq303a Alcohol Sensor * @comname MQ303A Alcohol Sensor
* @altname Grove Alcohol Sensor
* @type gaseous * @type gaseous
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Alcohol_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Alcohol_Sensor

View File

@ -38,20 +38,21 @@
namespace upm { namespace upm {
/** /**
* @brief my9221 led bar library * @brief MY9221 led bar library
* @defgroup my9221 libupm-my9221 * @defgroup my9221 libupm-my9221
* @ingroup seeed display gpio * @ingroup seeed display gpio
*/ */
/** /**
* @library my9221 * @library my9221
* @sensor my9221 * @sensor my9221
* @comname LED bar * @comname Grove LED Bar
* @altname MY9221 LED Bar
* @type display * @type display
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_LED_Bar * @web http://www.seeedstudio.com/wiki/Grove_-_LED_Bar
* @con gpio * @con gpio
* *
* @brief API for MY9221 led bar module * @brief API for MY9221 based LED bars
* *
* This file defines the MY9221 interface for libmy9221 * This file defines the MY9221 interface for libmy9221
* *

View File

@ -151,20 +151,20 @@ typedef enum {
} power_t; } power_t;
/** /**
* @brief nrf24l01 transceiver library * @brief NRF24L01 transceiver library
* @defgroup nrf24l01 libupm-nrf24l01 * @defgroup nrf24l01 libupm-nrf24l01
* @ingroup seeed spi wifi * @ingroup seeed sparkfun spi wifi
*/ */
/** /**
* @library nrf24l01 * @library nrf24l01
* @sensor nrf24l01 * @sensor nrf24l01
* @comname nrf24l01 transceiver library * @comname NRF24L01 Transceiver
* @type wifi * @type wifi
* @man seeed * @man seeed sparkfun
* @web http://www.seeedstudio.com/depot/nRF24L01Module-p-1394.html * @web http://www.seeedstudio.com/depot/nRF24L01Module-p-1394.html
* @con spi * @con spi
* *
* @brief API for NRF24l01 transceiver module * @brief API for NRF24L01 transceiver module
* *
* This file defines the NRF24l01 interface for libnrf24l01 * This file defines the NRF24l01 interface for libnrf24l01
* *

View File

@ -23,14 +23,14 @@
*/ */
/** /**
* @brief nrf8001 Bluetooth Low Energy library * @brief NRF8001 bluetooth low energy library
* @defgroup nrf8001 libupm-nrf8001 * @defgroup nrf8001 libupm-nrf8001
* @ingroup adafruit wifi analog gpio spi * @ingroup adafruit wifi analog gpio spi
*/ */
/** /**
* @library nrf8001 * @library nrf8001
* @sensor nrf8001 * @sensor nrf8001
* @comname Bluetooth Low Energy * @comname NRF8001 Bluetooth Low Energy
* @type wifi * @type wifi
* @man adafruit * @man adafruit
* @web https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout/introduction * @web https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout/introduction

View File

@ -29,14 +29,15 @@
namespace upm { namespace upm {
/** /**
* @brief otp538u IR Temperature Sensor library * @brief OTP538U IR Temperature Sensor library
* @defgroup otp538u libupm-otp538u * @defgroup otp538u libupm-otp538u
* @ingroup seeed analog light * @ingroup seeed analog light
*/ */
/** /**
* @library otp538u * @library otp538u
* @sensor otp538u * @sensor otp538u
* @comname IR Temperature Sensor * @comname OTP538U IR Temperature Sensor
* @altname Grove IR Temperature Sensor
* @type light * @type light
* @man generic * @man generic
* @con analog * @con analog

View File

@ -39,14 +39,14 @@
namespace upm { namespace upm {
/** /**
* @brief 16 Channel, 12 bit pwm LED controller library * @brief PCA9685 PWM controller library
* @defgroup pca9685 libupm-pca9685 * @defgroup pca9685 libupm-pca9685
* @ingroup adafruit i2c led motor * @ingroup adafruit i2c led motor
*/ */
/** /**
* @library pca9685 * @library pca9685
* @sensor pca9685 * @sensor pca9685
* @comname 16 Channel, 12 bit pwm LED controller * @comname PCA9685 PWM Controller
* @type led motor * @type led motor
* @man adafruit * @man adafruit
* @web http://www.adafruit.com/products/815 * @web http://www.adafruit.com/products/815

View File

@ -37,14 +37,15 @@ typedef struct
} dustData; } dustData;
/** /**
* @brief Dust Sensor library * @brief PPD42NS dust sensor library
* @defgroup ppd42ns libupm-ppd42ns * @defgroup ppd42ns libupm-ppd42ns
* @ingroup seeed gpio other * @ingroup seeed gpio other
*/ */
/** /**
* @library ppd42ns * @library ppd42ns
* @sensor ppd42ns * @sensor ppd42ns
* @comname Dust Sensor * @comname PPD42NS Dust Sensor
* @altname Grove Dust Sensor
* @type other * @type other
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Dust_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Dust_Sensor

View File

@ -29,14 +29,15 @@
namespace upm { namespace upm {
/** /**
* @brief Grove Distance Interrupter library * @brief RFR359 Distance Interrupter library
* @defgroup rfr359f libupm-rfr359f * @defgroup rfr359f libupm-rfr359f
* @ingroup seeed gpio light * @ingroup seeed gpio light
*/ */
/** /**
* @library rfr359f * @library rfr359f
* @sensor rfr359f * @sensor rfr359f
* @comname Grove Distance Interrupter * @comname RFR359F Distance Interrupter
* @altname Grove Distance Interrupter
* @type light * @type light
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_IR_Distance_Interrupt * @web http://www.seeedstudio.com/wiki/Grove_-_IR_Distance_Interrupt

View File

@ -29,14 +29,15 @@
namespace upm { namespace upm {
/** /**
* @brief RPR220 IR Reflective Sensor library * @brief RPR220 IR reflective sensor library
* @defgroup rpr220 libupm-rpr220 * @defgroup rpr220 libupm-rpr220
* @ingroup seeed gpio light * @ingroup seeed gpio light
*/ */
/** /**
* @library rpr220 * @library rpr220
* @sensor rpr220 * @sensor rpr220
* @comname rpr220 IR reflective sensor * @comname RPR220 IR Reflective Sensor
* @altname Grove IR Reflective Sensor
* @type light * @type light
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Infrared_Reflective_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Infrared_Reflective_Sensor

View File

@ -31,7 +31,8 @@ namespace upm {
/** /**
* @library servo * @library servo
* @sensor es08a * @sensor es08a
* @comname es0a servo * @comname ES08A Servo
* @altname Grove Servo
* @type servos * @type servos
* @man emax * @man emax
* @web http://www.seeedstudio.com/wiki/Grove_-_Servo * @web http://www.seeedstudio.com/wiki/Grove_-_Servo

View File

@ -38,7 +38,7 @@ namespace upm {
#define DEFAULT_WAIT_DISABLE_PWM 0 #define DEFAULT_WAIT_DISABLE_PWM 0
/** /**
* @brief C++ API for servo libraries * @brief Servo library
* *
* The base class Servo provides routines for setting the angle of the shaft * The base class Servo provides routines for setting the angle of the shaft
* as well as setting and getting the minimum and maximum pulse width and * as well as setting and getting the minimum and maximum pulse width and

View File

@ -37,7 +37,7 @@
namespace upm { namespace upm {
/** /**
* @brief SI1145 UV light sensor * @brief SI1145 UV light sensor library
* @defgroup si114x libupm-si114x * @defgroup si114x libupm-si114x
* @ingroup adafruit i2c light * @ingroup adafruit i2c light
*/ */

View File

@ -48,7 +48,7 @@ namespace upm {
/** /**
* @library sm130 * @library sm130
* @sensor sm130 * @sensor sm130
* @comname SM130 RFID reader module sensor * @comname SM130 RFID Reader
* @type rfid * @type rfid
* @man sparkfun * @man sparkfun
* @web https://www.sparkfun.com/products/10126 * @web https://www.sparkfun.com/products/10126

View File

@ -494,17 +494,14 @@ const unsigned char font[] = {
}; };
/** /**
* @brief API for the st7735 lcd display library * @brief ST7735 LCD display library
*
* This file defines the interface for ST7735 display library
*
* @defgroup st7735 libupm-st7735 * @defgroup st7735 libupm-st7735
* @ingroup adafruit spi display * @ingroup adafruit spi display
*/ */
/** /**
* @library st7735 * @library st7735
* @sensor st7735 * @sensor st7735
* @comname LCD display * @comname ST7735 LCD display
* @type display * @type display
* @man adafruit * @man adafruit
* @web http://www.adafruit.com/product/358 * @web http://www.adafruit.com/product/358
@ -520,7 +517,7 @@ const unsigned char font[] = {
class ST7735 : public GFX { class ST7735 : public GFX {
public: public:
/** /**
* Instanciates a ST7735 object * Instantiates a ST7735 object
* *
* @param csLCD LCD chip select pin * @param csLCD LCD chip select pin
* @param cSD SD card chip select pin * @param cSD SD card chip select pin

View File

@ -41,25 +41,25 @@
namespace upm { namespace upm {
/** /**
* @brief API for the Stepper motor library * @brief Stepper motor library
*
* This file defines the stepmotor interface
*
* @defgroup stepper libupm-stepper * @defgroup stepper libupm-stepper
* @ingroup seeed pwm gpio motor * @ingroup seeed sparkfun pwm gpio motor
*/ */
/** /**
* @library stepper * @library stepper
* @sensor stepper * @sensor stepper
* @comname Stepper motor * @comname Stepper Motor
* @altname EasyDriver Stepper Motor Driver
* @type motor * @type motor
* @man seeed * @man seeed sparkfun
* @web http://www.seeedstudio.com/wiki/Grove_-_I2C_Motor_Driver_V1.3 * @web http://www.schmalzhaus.com/EasyDriver/index.html
* @con pwm gpio * @con pwm gpio
* *
* @brief API for the Stepper motor library * @brief API for the Stepper motor library
* *
* This file defines the stepmotor interface * This file defines the StepMotor interface. It is compatible with Stepper
* Motor Drivers that use 2 pins to control the motor, like the EasyDriver
* from Brian Schmalz.
* *
* @image html stepmotor.jpg * @image html stepmotor.jpg
* @snippet stepmotor.cxx Interesting * @snippet stepmotor.cxx Interesting
@ -67,10 +67,10 @@ namespace upm {
class StepMotor { class StepMotor {
public: public:
/** /**
* Instanciates a StepMotor object * Instantiates a StepMotor object
* *
* @param dirPin direction GPIO pin * @param dirPin direction GPIO pin
* @param stePin steper pulse PWM pin * @param stePin stepper pulse PWM pin
*/ */
StepMotor (int dirPin, int stePin); StepMotor (int dirPin, int stePin);
@ -89,14 +89,14 @@ class StepMotor {
/** /**
* Rotate motor forward * Rotate motor forward
* *
* @param ticks number of tickes the motor will move * @param ticks number of ticks the motor will move
*/ */
mraa_result_t stepForward (int ticks); mraa_result_t stepForward (int ticks);
/** /**
* Rotate motor backward * Rotate motor backward
* *
* @param ticks number of tickes the motor will move * @param ticks number of ticks the motor will move
*/ */
mraa_result_t stepBackwards (int ticks); mraa_result_t stepBackwards (int ticks);

View File

@ -29,7 +29,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM support for the SX6119 based FM Receiver * @brief SX6119 based FM receiver library
* @defgroup sx6119 libupm-sx6119 * @defgroup sx6119 libupm-sx6119
* @ingroup seeed gpio sound * @ingroup seeed gpio sound
*/ */
@ -37,7 +37,8 @@ namespace upm {
/** /**
* @sensor sx6119 * @sensor sx6119
* @library sx6119 * @library sx6119
* @comname Grove FM Receiver v1.0 * @comname Grove FM Receiver
* @altname SX6119 FM Receiver
* @type sound * @type sound
* @man seeed * @man seeed
* @con gpio * @con gpio

View File

@ -34,20 +34,15 @@
namespace upm { namespace upm {
/** /**
* @brief API for the TA12-200 current transformer * @brief TA12-200 current transformer library
*
* UPM module for the TA12-200 current transformer, which is found,
* for instance, in the Grove Electricity Sensor.
* This module can measure AC current moving through a wire at up
* to 5A.
*
* @defgroup ta12200 libupm-ta12200 * @defgroup ta12200 libupm-ta12200
* @ingroup seeed analog electric * @ingroup seeed analog electric
*/ */
/** /**
* @library ta12200 * @library ta12200
* @sensor ta12200 * @sensor ta12200
* @comname Current transformer * @comname TA12-200 Current transformer
* @altname Grove Electricity Sensor
* @type electric * @type electric
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Electricity_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Electricity_Sensor

View File

@ -105,17 +105,15 @@ typedef struct {
} tcs3414sc_rgb_t; } tcs3414sc_rgb_t;
/** /**
* @brief API for TCS3414CS chip (Color sensor) * @brief TCS3414CS color sensor library
*
* his file defines the TCS3414CS interface for the color sensor
*
* @defgroup tcs3414cs libupm-tcs3414cs * @defgroup tcs3414cs libupm-tcs3414cs
* @ingroup seeed i2c color * @ingroup seeed i2c color
*/ */
/** /**
* @library tcs3414cs * @library tcs3414cs
* @sensor tcs3414cs * @sensor tcs3414cs
* @comname Color sensor * @comname TCS3414CS Color Sensor
* @altname Grove Color Sensor
* @type color * @type color
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_I2C_Color_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_I2C_Color_Sensor

View File

@ -45,17 +45,15 @@
namespace upm { namespace upm {
/** /**
* @brief API for th02 temperature & humidity sensor library * @brief TH02 temperature & humidity sensor library
*
* This file defines the TH02 interface for libth02
*
* @defgroup th02 libupm-th02 * @defgroup th02 libupm-th02
* @ingroup seeed i2c temp * @ingroup seeed i2c temp
*/ */
/** /**
* @library th02 * @library th02
* @sensor th02 * @sensor th02
* @comname temperature and humidity sensor * @comname TH02 Temperature & Humidity Sensor
* @altname Grove Temperature & Humidity Sensor (High Accuracy & Mini)
* @type temp * @type temp
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Tempture%26Humidity_Sensor_(High-Accuracy_%26Mini)_v1.0 * @web http://www.seeedstudio.com/wiki/Grove_-_Tempture%26Humidity_Sensor_(High-Accuracy_%26Mini)_v1.0
@ -65,7 +63,7 @@ namespace upm {
* *
* This file defines the TH02 interface for libth02 * This file defines the TH02 interface for libth02
* *
* NOTE: For use on the Edison with the arduino breakout board, the * NOTE: For use on the Edison with the Arduino breakout board, the
* Edison must be set to 3v rather than 5v. * Edison must be set to 3v rather than 5v.
* *
* @image html th02.jpg * @image html th02.jpg

View File

@ -53,6 +53,7 @@ namespace upm
* @library tm1637 * @library tm1637
* @sensor tm1637 * @sensor tm1637
* @comname TM1637 7-Segment Display * @comname TM1637 7-Segment Display
* @altname Grove 4-Digit Display
* @type display * @type display
* @man seeed * @man seeed
* @con gpio * @con gpio

View File

@ -92,20 +92,15 @@ namespace upm {
#define LUX_M8C (0x0000) // 0.000 * 2^LUX_SCALE #define LUX_M8C (0x0000) // 0.000 * 2^LUX_SCALE
/** /**
* @brief TSL2561 Digital Light Sensor library * @brief TSL2561 digital light sensor library
*
* The LIGHT-TO-DIGITAL CONVERTER [TAOS-TSL2561]
* (http://www.adafruit.com/datasheets/TSL2561.pdf)
* The TSL2560 and TSL2561 are light-to-digital converters that transform
* light intensity to a digital signal output capable of direct I2C (TSL2561)
*
* @defgroup tsl2561 libupm-tsl2561 * @defgroup tsl2561 libupm-tsl2561
* @ingroup seeed i2c light * @ingroup seeed i2c light
*/ */
/** /**
* @library tsl2561 * @library tsl2561
* @sensor tsl2561 * @sensor tsl2561
* @comname Light sensor * @comname TSL2561 Light Sensor
* @altname Grove Digital Light Sensor
* @type light * @type light
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor

View File

@ -28,7 +28,7 @@
namespace upm { namespace upm {
/** /**
* @brief TTP223 Touch Detector sensor library * @brief TTP223 touch detector sensor library
* *
* This touch sensor detects when a finger is near the metallic pad * This touch sensor detects when a finger is near the metallic pad
* by a change in capacitance. It can replace a more traditional push * by a change in capacitance. It can replace a more traditional push
@ -41,7 +41,8 @@ namespace upm {
/** /**
* @library ttp223 * @library ttp223
* @sensor ttp223 * @sensor ttp223
* @comname Touch sensor * @comname TTP223 Touch Sensor
* @altname Grove Touch Sensor
* @type touch * @type touch
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Grove-Touch-Sensor-p-747.html * @web http://www.seeedstudio.com/depot/Grove-Touch-Sensor-p-747.html

View File

@ -44,25 +44,24 @@ const int UBLOX6_DEFAULT_UART = 0;
namespace upm { namespace upm {
/** /**
* @brief API for the U-BLOX 6 GPS module * @brief UBLOX6 & SIM28 GPS module library
*
* UPM support for the U-BLOX 6 GPS Module
*
* @defgroup ublox6 libupm-ublox6 * @defgroup ublox6 libupm-ublox6
* @ingroup seeed uart gps * @ingroup seeed uart gps
*/ */
/** /**
* @library ublox6 * @library ublox6
* @sensor ublox6 * @sensor ublox6
* @comname GPS module * @comname Grove GPS
* @altname U-BLOX6 SIM28
* @type gps * @type gps
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Grove-GPS-p-959.html * @web http://www.seeedstudio.com/depot/Grove-GPS-p-959.html
* @con uart * @con uart
* *
* @brief API for the U-BLOX 6 GPS module * @brief API for the U-BLOX 6 and SIM28 GPS modules
* *
* UPM support for the U-BLOX 6 GPS Module * UPM support for the U-BLOX 6 GPS Module. It is also compatible with
* the SIM28 GPS Module.
* *
* @image html ublox6.jpg * @image html ublox6.jpg
* @snippet ublox6.cxx Interesting * @snippet ublox6.cxx Interesting
@ -113,7 +112,7 @@ namespace upm {
* setup the proper tty i/o modes and the baudrate. The default * setup the proper tty i/o modes and the baudrate. The default
* baud rate is 9600 (B9600). * baud rate is 9600 (B9600).
* *
* @param baud the desired baud rate. * @param baud the desired baud rate.
* @return true if successful * @return true if successful
*/ */
bool setupTty(speed_t baud=B9600); bool setupTty(speed_t baud=B9600);

View File

@ -32,7 +32,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM support for the ULN200XA series of Darlington Stepper drivers * @brief ULN200XA stepper driver library
* @defgroup uln200xa libupm-uln200xa * @defgroup uln200xa libupm-uln200xa
* @ingroup seeed gpio motor * @ingroup seeed gpio motor
*/ */
@ -41,7 +41,7 @@ namespace upm {
* @library uln200xa * @library uln200xa
* @sensor uln200xa * @sensor uln200xa
* @comname ULN200XA Stepper Driver * @comname ULN200XA Stepper Driver
* @altname uln2001a uln2002a uln2003a uln2004a * @altname ULN2001A ULN2002A ULN2003A ULN2004A
* @type motor * @type motor
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/depot/Gear-Stepper-Motor-with-Driver-p-1685.html?cPath=39_40 * @web http://www.seeedstudio.com/depot/Gear-Stepper-Motor-with-Driver-p-1685.html?cPath=39_40

View File

@ -27,19 +27,14 @@
namespace upm { namespace upm {
/** /**
* @brief API for the Water Level Sensor * @brief Water Level sensor library
*
* The Water Level Sensor senses the water level.
* When the level rises, a ball with a magnet floats up and causes a switch to open.
* When the level falls, the magnet also falls and the switch closes.
*
* @defgroup waterlevel libupm-waterlevel * @defgroup waterlevel libupm-waterlevel
* @ingroup gpio waterlevel * @ingroup seeed gpio liquid
*/ */
/** /**
* @library waterlevel * @library waterlevel
* @sensor waterlevel * @sensor waterlevel
* @comname waterlevel * @comname Grove Water Level Sensor
* @type liquid * @type liquid
* @man seeed * @man seeed
* @con gpio * @con gpio

View File

@ -49,25 +49,22 @@ const uint8_t WT5001_END = 0x7e;
namespace upm { namespace upm {
/** /**
* @brief API for the WT5001 Serial MP3 module * @brief WT5001 Serial MP3 module library
*
* UPM support for the WT5001 Serial MP3 Module. This was tested
* specifically with the Grove Serial MP3 module.
*
* @defgroup wt5001 libupm-wt5001 * @defgroup wt5001 libupm-wt5001
* @ingroup seeed uart sound * @ingroup seeed uart sound
*/ */
/** /**
* @library wt5001 * @library wt5001
* @sensor wt5001 * @sensor wt5001
* @comname Serial MP3 Module * @comname WT5001 Serial MP3 Module
* @altname Grove Serial MP3 Player
* @type sound * @type sound
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_%E2%80%93_Serial_MP3_Player * @web http://www.seeedstudio.com/wiki/Grove_%E2%80%93_Serial_MP3_Player
* @con uart * @con uart
* *
* @brief API for the WT5001 Serial MP3 module * @brief API for the WT5001 Serial MP3 module
* *
* UPM support for the WT5001 Serial MP3 Module. This was tested * UPM support for the WT5001 Serial MP3 Module. This was tested
* specifically with the Grove Serial MP3 module. * specifically with the Grove Serial MP3 module.
* *
@ -108,20 +105,20 @@ namespace upm {
READ_DATE = 0xd1, READ_DATE = 0xd1,
READ_TIME = 0xd2 READ_TIME = 0xd2
} WT5001_OPCODE_T; } WT5001_OPCODE_T;
// play modes // play modes
typedef enum { NORMAL = 0x00, typedef enum { NORMAL = 0x00,
SINGLE_REPEAT = 0x01, SINGLE_REPEAT = 0x01,
ALL_REPEAT = 0x02, ALL_REPEAT = 0x02,
RANDOM = 0x03 RANDOM = 0x03
} WT5001_PLAYMODE_T; } WT5001_PLAYMODE_T;
// music source // music source
typedef enum { SD, typedef enum { SD,
SPI, SPI,
UDISK UDISK
} WT5001_PLAYSOURCE_T; } WT5001_PLAYSOURCE_T;
/** /**
* WT5001 Serial MP3 module constructor * WT5001 Serial MP3 module constructor
* *
@ -167,7 +164,7 @@ namespace upm {
* setup the proper tty i/o modes and the baudrate. The default * setup the proper tty i/o modes and the baudrate. The default
* baud rate is 9600 (B9600). * baud rate is 9600 (B9600).
* *
* @param baud the desired baud rate. * @param baud the desired baud rate.
* @return true if successful * @return true if successful
*/ */
bool setupTty(speed_t baud=B9600); bool setupTty(speed_t baud=B9600);
@ -179,7 +176,7 @@ namespace upm {
* @return true if successful * @return true if successful
*/ */
bool checkResponse(WT5001_OPCODE_T opcode); bool checkResponse(WT5001_OPCODE_T opcode);
/** /**
* play a file, from a source * play a file, from a source
* *

View File

@ -28,25 +28,22 @@
namespace upm { namespace upm {
/** /**
* @brief Library for the YG1006 flame sensor * @brief YG1006 flame sensor library
*
* UPM module for the YG1006 flame sensor. It detects flame or any
* other light in the 760nm - 1100nm wavelength range.
*
* @defgroup yg1006 libupm-yg1006 * @defgroup yg1006 libupm-yg1006
* @ingroup seeed gpio light * @ingroup seeed gpio light
*/ */
/** /**
* @library yg1006 * @library yg1006
* @sensor yg1006 * @sensor yg1006
* @comname flame sensor * @comname YG1006 Flame Sensor
* @altname Grove Flame Sensor
* @type light * @type light
* @man seeed * @man seeed
* @web http://www.seeedstudio.com/wiki/Grove_-_Flame_Sensor * @web http://www.seeedstudio.com/wiki/Grove_-_Flame_Sensor
* @con gpio * @con gpio
* *
* @brief API for the YG1006 flame sensor * @brief API for the YG1006 flame sensor
* *
* UPM module for the YG1006 flame sensor. It detects flame or any * UPM module for the YG1006 flame sensor. It detects flame or any
* other light in the 760nm - 1100nm wavelength range. * other light in the 760nm - 1100nm wavelength range.
* *

View File

@ -59,7 +59,7 @@
namespace upm { namespace upm {
/** /**
* @brief UPM library for the ZFM-20 fingerprint sensor module * @brief ZFM-20 fingerprint sensor module library
* @defgroup zfm20 libupm-zfm20 * @defgroup zfm20 libupm-zfm20
* @ingroup seeed uart touch * @ingroup seeed uart touch
*/ */
@ -67,7 +67,7 @@ namespace upm {
/** /**
* @library zfm20 * @library zfm20
* @sensor zfm20 * @sensor zfm20
* @comname ZFM-20 Fingerprint Sensor Module * @comname ZFM-20 Fingerprint Sensor
* @altname Grove Fingerprint Sensor * @altname Grove Fingerprint Sensor
* @type touch * @type touch
* @man seeed * @man seeed