Skip to content

Commit

Permalink
Add break and modify sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
duembgen committed May 4, 2021
1 parent 1f2f710 commit 73863dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/audio_shield_firmware/Core/Inc/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ freq_list_t freq_list_tim[] = {
};


int16_t sweep[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, REPEAT};
int16_t sweep[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, STOP};
int16_t sweep_three[] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
Expand Down
1 change: 1 addition & 0 deletions firmware/audio_shield_firmware/Core/Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ int main(void)
for (int i = 0; i < sizeof(melodies); i++) {
if (melodies[i].index == buzzer_idx) {
melody_index = i;
break;
}
}

Expand Down

0 comments on commit 73863dd

Please sign in to comment.