Change tunes, configure connection
This commit is contained in:
11
src/tunes.h
11
src/tunes.h
@ -2,14 +2,15 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
// Define melodies and their durations
|
||||
int melody1[] = { 440, 523, 659, 587 }; // Happy tune
|
||||
int melody1[] = { 440, 523, 659, 587 }; // Startup tune
|
||||
int noteDuration1[] = { 100, 50, 100, 150 };
|
||||
|
||||
int melody2[] = { 587, 659, 740, 659 }; // Tune 2
|
||||
int noteDuration2[] = { 150, 100, 150, 100 };
|
||||
int melody2[] = { 740, 784, 659 }; // Happy Tune
|
||||
int noteDuration2[] = { 120, 120, 120 };
|
||||
|
||||
int melody3[] = { 440, 349, 392 }; // Sad Tune
|
||||
int noteDuration3[] = { 150, 100, 150 };
|
||||
|
||||
int melody3[] = { 440, 392 }; // Sad Tune
|
||||
int noteDuration3[] = { 200, 150 };
|
||||
|
||||
// Function to play a specified tune
|
||||
void playTune(int tuneIndex) {
|
||||
|
Reference in New Issue
Block a user