/* 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
WTV020SD16.h
00001 /* 00002 Wtv020sd16p.cpp - Library to control a WTV020-SD-16P module 00003 Created by Diego J. Arevalo, August 6th, 2012 for Arduino plaform 00004 Modified by Kamil Kanas, 17/5/2017 for mbed platforms 00005 Tested with FRDM KL25Z board 00006 Released into the public domain 9/7/2017. 00007 */ 00008 00009 #ifndef WTV020SD16_h 00010 #define WTV020SD16_h 00011 #include "mbed.h" 00012 00013 00014 class Wtv020sd16p 00015 { 00016 public: 00017 void reset(); 00018 void playVoice(int voiceNumber); 00019 void asyncPlayVoice(int voiceNumber); 00020 void stopVoice(); 00021 void pauseVoice(); 00022 void mute(); 00023 void unmute(); 00024 private: 00025 void sendCommand(unsigned int command); 00026 int _busyPinState; 00027 00028 }; 00029 00030 #endif 00031 00032
Generated on Mon Aug 1 2022 17:45:09 by 1.7.2