'학교종' 연주 프로그램 작성
#define PIN 11
void setup() {
tone(PIN, 392, 1000);
delay(1000);
tone(PIN, 392, 1000);
delay(1000);
tone(PIN, 440, 1000);
delay(1000);
tone(PIN, 440, 1000);
delay(1000);
tone(PIN, 392, 1000);
delay(1000);
tone(PIN, 392, 1000);
delay(1000);
tone(PIN, 330, 2000);
delay(2000);
noTone(PIN);
}
void loop() {
}