Activity
unknown
c_cpp
2 years ago
375 B
7
Indexable
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:
}
Editor is loading...
Leave a Comment