diff --git a/group__buzzer.html b/group__buzzer.html index 95aa8795..d3bbeeca 100644 --- a/group__buzzer.html +++ b/group__buzzer.html @@ -231,9 +231,6 @@ void watch_set_buzzer_off< void watch_buzzer_play_sequence (int8_t *note_sequence, void(*callback_on_end)(void))  Plays the given sequence of notes in a non-blocking way.
  - -uint16_t sequence_length (int8_t *sequence) -  void watch_buzzer_abort_sequence (void)  Aborts a playing sequence.
diff --git a/watch__buzzer_8h_source.html b/watch__buzzer_8h_source.html index 26ac46cb..296b2cda 100644 --- a/watch__buzzer_8h_source.html +++ b/watch__buzzer_8h_source.html @@ -220,15 +220,13 @@ $(document).ready(function() { init_codefold(0); });
162
176void watch_buzzer_play_sequence(int8_t *note_sequence, void (*callback_on_end)(void));
177
-
178uint16_t sequence_length(int8_t *sequence);
-
179
-
182void watch_buzzer_abort_sequence(void);
-
183
-
184#ifndef __EMSCRIPTEN__
-
185void TC3_Handler(void);
-
186#endif
-
187
-
189#endif
+
180void watch_buzzer_abort_sequence(void);
+
181
+
182#ifndef __EMSCRIPTEN__
+
183void TC3_Handler(void);
+
184#endif
+
185
+
187#endif
void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms)
Plays the given note for a set duration.
BuzzerNote
87 notes for use with watch_buzzer_play_note
Definition watch_buzzer.h:61
void watch_disable_buzzer(void)
Disables the TCC peripheral that drives the buzzer.
diff --git a/watch__private__buzzer_8h_source.html b/watch__private__buzzer_8h_source.html index ef07379a..f9895246 100644 --- a/watch__private__buzzer_8h_source.html +++ b/watch__private__buzzer_8h_source.html @@ -112,9 +112,7 @@ $(document).ready(function() { init_codefold(0); });
28// i.e. for a 440 Hz tone (A4 on the piano), 1MHz/440Hz = 2273
29const uint16_t NotePeriods[108] = {18182,17161,16197,15288,14430,13620,12857,12134,11453,10811,10204,9631,9091,8581,8099,7645,7216,6811,6428,6068,5727,5405,5102,4816,4545,4290,4050,3822,3608,3405,3214,3034,2863,2703,2551,2408,2273,2145,2025,1911,1804,1703,1607,1517,1432,1351,1276,1204,1136,1073,1012,956,902,851,804,758,716,676,638,602,568,536,506,478,451,426,402,379,358,338,319,301,284,268,253,239,225,213,201,190,179,169,159,150,142,134,127};
30
-
31uint16_t sequence_length(int8_t *sequence);
-
32
-
33#endif
+
31#endif
const uint16_t NotePeriods[108]
An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote.
Definition watch_private_buzzer.h:29