본문 바로가기
아두이노

아두이노 부저에서 소리나게 하기

by chaechaekim 2019. 9. 8.

void setup() {
  // put your setup code here, to run once:
  pinMode(13,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  tone(13,392,200);
  delay(500);
  noTone(13);
  delay(500);
}

댓글