const int BUZZER_PIN = 23; // The ESP8266 pin connected to piezo buzzer
const int NUM_NOTES = 200; // Number of notes in the sequence
const int MAX_NOTES = 999; // Maximum number of notes in the sequence
#include "pitches.h"
#include "functions.h"
#include "tests.h"
int* sequenceNotes = generateSequenceNotes(NUM_NOTES);
int* noteDurations = generateSequenceDurations(NUM_NOTES);
void setup() {
Serial.begin(9600);
Serial.println("Hello");
randomSeed(random( 2147483647L )); // Initialize random seed
//Test(5, BUZZER_PIN);
}
void loop() {
playSequence(sequenceNotes,noteDurations, NUM_NOTES, BUZZER_PIN);
}