#define Buzzer 13
int C = 262;
int D = 294;
int E = 330;
int F = 349;
int G = 392;
int A = 440;
int B = 494;
int C_H = 523;
int notes[] = {C,D,E,F,G,A,B,C_H};
int n_notes = 8;
void setup() {
// put your setup code here, to run once:
pinMode(Buzzer, OUTPUT);
for (int i = 0; i < n_notes; i++){
tone(Buzzer, notes[i]);
delay(500);
noTone(Buzzer);
delay(5);
}
}
void loop() {
// put your main code here, to run repeatedly:
// this speeds up the simulation
}
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
r1:1
r1:2
bz1:1
bz1:2