mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
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:
@ -55,8 +55,9 @@ namespace upm {
|
||||
|
||||
/**
|
||||
* @library mhz16
|
||||
* @sensor mhz16
|
||||
* @comname Grove CO2 sensor
|
||||
* @sensor mhz16
|
||||
* @comname Grove CO2 Sensor
|
||||
* @altname MHZ16 Serial CO2 Sensor
|
||||
* @type gaseous
|
||||
* @man seeed
|
||||
* @con uart
|
||||
@ -67,14 +68,14 @@ namespace upm {
|
||||
*
|
||||
* It's CO2 detection ranges from 0PPM to 2000PPM. It requires a
|
||||
* 2-3 minute warm up time before reporting valid data.
|
||||
*
|
||||
*
|
||||
* @image html mhz16.jpg
|
||||
* @snippet mhz16.cxx Interesting
|
||||
*/
|
||||
class MHZ16 {
|
||||
public:
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* MHZ16 module constructor
|
||||
*
|
||||
@ -120,7 +121,7 @@ namespace upm {
|
||||
* setup the proper tty i/o modes and the baudrate. The default
|
||||
* baud rate is 9600 (B9600).
|
||||
*
|
||||
* @param baud the desired baud rate.
|
||||
* @param baud the desired baud rate.
|
||||
* @return true if successful
|
||||
*/
|
||||
bool setupTty(speed_t baud=B9600);
|
||||
|
Reference in New Issue
Block a user