buzzer: header update

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-04-09 11:15:36 -07:00
parent 090035bf1d
commit 1cf3f43db0

View File

@ -39,16 +39,25 @@ namespace upm {
/**
* @brief Buzzer library
* @defgroup buzzer libupm-buzzer
* @ingroup seeed pwm sound
*/
/**
* @library buzzer
* @sensor buzzer
* @comname Grove Buzzer
* @type sound
* @man seeed
* @con pwm
*
* @brief C++ API for Buzzer component
*
* This file defines the Buzzer C++ interface for libbuzzer.
* This sensor can make different tones when connected to
* a pin capable of analog pulse-width modulation.
* a pin capable of analog pulse-width modulation. It emits
* sound using a piezoelectric material that vibrates at different
* frequencies based on the input voltage.
*
* @ingroup buzzer pwm
* @snippet buzzer-sound.cxx Interesting
*/
class Buzzer {