33 #include <mraa/gpio.h> 55 mraa_gpio_context gpio;
63 unsigned int default_freq;
115 const char *vocal_weight);
132 unsigned int emit_ms);
void speaker_close(speaker_context dev)
Definition: speaker.c:130
upm_result_t speaker_set_frequency(const speaker_context dev, unsigned int freq)
Definition: speaker.c:146
void speaker_play_all(const speaker_context dev)
Definition: speaker.c:237
upm_result_t speaker_emit(const speaker_context dev, unsigned int freq, unsigned int emit_ms)
Definition: speaker.c:193
void speaker_on(const speaker_context dev)
Definition: speaker.c:215
struct _speaker_context * speaker_context
void speaker_off(const speaker_context dev)
Definition: speaker.c:227
speaker_context speaker_init_pwm(int pin)
Definition: speaker.c:109
void speaker_play_sound(const speaker_context dev, char letter, bool sharp, const char *vocal_weight)
Definition: speaker.c:260
speaker_context speaker_init(int pin)
Definition: speaker.c:88