Activity

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
375 B
1
Indexable
Never
void setup() {
  // put your setup code here, to run once:
pinMode(13,OUTPUT); set pin 13 to output

tone(13,200); //play frequency of 200 for 1.5 seconds
delay(1500);
noTone(13);
delay(500); //wait .5 seconds
tone(13,400); //play frequency of 400 for 1.5 seconds
delay(1500);
noTone(13);
}

void loop() {
  // put your main code here, to run repeatedly:

}
Leave a Comment