29 #define DO 3300 // 261 Hz 3830
30 #define RE 2930 // 294 Hz
31 #define MI 2600 // 329 Hz
32 #define FA 2460 // 349 Hz
33 #define SOL 2190 // 392 Hz
34 #define LA 1960 // 440 Hz
35 #define SI 1750 // 493 Hz
124 mraa_pwm_context m_pwm_context;
Buzzer(int pinNumber)
Definition: buzzer.cxx:35
~Buzzer()
Definition: buzzer.cxx:72
std::string name()
Definition: buzzer.h:117
void stopSound()
Definition: buzzer.cxx:66
int playSound(int note, int delay)
Definition: buzzer.cxx:56
API for the Buzzer component.
Definition: buzzer.h:65
void setVolume(float vol)
Definition: buzzer.cxx:48
float getVolume()
Definition: buzzer.cxx:52