/* Wtv020sd16p - Library to control a WTV020-SD-16P module Created by Diego J. Arevalo, August 6th, 2012 for Arduino plaform Modified by Kamil Kanas, 17/5/2017 for mbed platforms Tested with FRDM KL25Z board Released into the public domain 9/6/2017. */

Dependents:   WTV020SD16_Player_KL25

Revision:
0:47be58458737
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WTV020SD16.h	Fri Jun 09 14:44:23 2017 +0000
@@ -0,0 +1,32 @@
+/*
+ Wtv020sd16p.cpp - Library to control a WTV020-SD-16P module 
+ Created by Diego J. Arevalo, August 6th, 2012 for  Arduino plaform
+ Modified by Kamil Kanas, 17/5/2017 for mbed platforms
+ Tested with FRDM KL25Z board
+ Released into the public domain 9/7/2017.
+ */
+
+#ifndef WTV020SD16_h
+#define WTV020SD16_h
+#include "mbed.h"
+
+  
+class Wtv020sd16p
+{
+public:
+  void reset();
+  void playVoice(int voiceNumber);
+  void asyncPlayVoice(int voiceNumber);
+  void stopVoice();
+  void pauseVoice();
+  void mute();
+  void unmute();
+private:
+  void sendCommand(unsigned int command);
+  int _busyPinState;
+  
+};
+
+#endif
+
+