void setup() {
pinMode(9, OUTPUT);
beep(50);
beep(50);
beep(50);
delay(1000);
}
void loop() {
beep(20);
}
void beep(unsigned char delayms){
analogWrite(9, 50);
delay(delayms);
analogWrite(9, 0);
delay(delayms);
}
Camilo Diez
Alejandra lópez
Daniela Gallo
No comments:
Post a Comment