top of page
/*
Written by Yohi Zucker.
It is dfree to use and distrbute
February 5th 2017
*/
void setup() {
Serial.begin(9600);
pinMode(13, OUTPUT);//Connect to REC pin
pinMode(12, OUTPUT);//Connect to P-E pin
//record message
Serial.println("Start Recording");
digitalWrite(13, HIGH);
delay (10000);
Serial.println("Stop Recording");
digitalWrite(13, LOW);
digitalWrite(12, LOW);//initiation the speaker
delay(1000);
}
void loop() {
digitalWrite(12, HIGH); // Play Recording
delay(10000); // For
digitalWrite(12, LOW); // 10 Sec and stop
delay(1000); // Wait before looping
}
bottom of page