Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Wtv020sd16p.h>
- // Conecxão do pino do WTV 0220 No Arduino
- int resetPin = 4; //Pino Reset
- int clockPin = 5; //Pino clock
- int dataPin = 6; //Pino data (DI)
- int busyPin = 7; //Pino busy
- byte flag = 0;
- Wtv020sd16p wtv020sd16p(resetPin,clockPin,dataPin,busyPin);
- void setup() {
- wtv020sd16p.reset();
- }
- void loop() {
- if (flag == 0)
- wtv020sd16p.asyncPlayVoice(0);
- delay(3000);
- flag = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement