# data[].attributes.body
Nhoms Lan Chi

# data[].attributes.body
minh trí

# data[].attributes.body
Nhóm Lan Chi

# data[].attributes.body
#include <Arduino.h> #define BUZZER_PIN 8 #define NOTE_C4 262 #define NOTE_D4 294 #define NOTE_E4 330 #define NOTE_F4 349 #define NOTE_G4 392 #define NOTE_A4 440 #define NOTE_B4 494 #define NOTE_C5 523 int melody[] = { NOTE_E4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_G4, NOTE_C4, NOTE_D4, NOTE_E4, NOTE_F4, NOTE_F4, NOTE_F4, NOTE_F4, NOTE_F4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_E4, NOTE_G4, NOTE_G4, NOTE_F4, NOTE_D4, NOTE_C4 }; int durations[] = { 4, 4, 2, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 8, 8, 4, 4, 4, 4, 4, 2 }; void setup() { pinMode(BUZZER_PIN, OUTPUT); } void loop() { int size = sizeof(melody) / sizeof(int); for (int i = 0; i < size; i++) { int duration = 1000 / durations[i]; tone(BUZZER_PIN, melody[i], duration); int pause = duration * 1.30; delay(pause); noTone(BUZZER_PIN); } delay(2000); }

# data[].attributes.body
Nhóm Lan Chi

# data[].attributes.body
Tham khảo bài Happy birthday:

# data[].attributes.body
Lan Chi

# data[].attributes.body
Hoài Anh

# data[].attributes.body
cuả vân cute này ngầu vãi

# data[].attributes.body
Minh Châu