Vasanth Kumar / Mbed 2 deprecated RapidMP3_check

Dependencies:   RAPIDMP3 mbed

Fork of RapidMP3_check by Vasanth Kumar

Revision:
2:8c6ca0906114
Parent:
1:dbb63bd6c828
--- a/RAPIDMP3.h	Fri Nov 21 10:44:09 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/****************************************************************************
- * file     RAPIDMP3.h
- * author   Vasanth Kumar.D (www.chipthinglabs.com)
- * date     July 2014
- * brief    Rapid MP3 module code example
- *
- * Project:
- * Rapid MP3 v1.0 driver code
- * The driver code is compatible with any mbed enabled microcontroller platform
- *
- * Copyright (C) 2014, Chipthing Labs, all right reserved.
- * The Rapid MP3 code is a free software and there is NO WARRANTY.
- * No restriction on use. You can use, modify and redistribute it for
- * personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
- * Redistributions of source code must retain the above copyright notice.
-****************************************************************************/
-
-#ifndef RAPIDMP3_H
-#define RAPIDMP3_H
-
-/*-----------------------------------*/
-
-#define RMP3_NONE    2
-#define RMP3_BUSY    1
-#define RMP3_FREE    0
-
-#define RMP3_OK      1
-#define RMP3_ER      0
-
-/*-----------------------------------*/
-
-class RAPIDMP3 {
-    
-private:
-    // Private object
-    Serial serialRMP3;
-    
-    // Private variable
-    uint8_t responseStr[16];
-    
-    // Private functions
-    void transmitEndOfFrame();    
-    void getResponseStr();
-    uint8_t getResponse();
-        
-public:    
-    // Public constructor
-    RAPIDMP3(PinName Tx, PinName Rx);
-    
-    // Public functions    
-    uint8_t waitDeviceFree      ();
-    uint8_t checkDevice         ();
-    uint8_t playFile            (const char *fileName); // .mp3 or .wav
-    uint8_t waitEndOfPlay       ();    
-    uint8_t stop                ();
-    uint8_t playPause           ();
-    uint8_t playResume          ();
-    uint8_t volumeSet           (uint8_t vol);
-    uint8_t volumeInc           ();
-    uint8_t volumeDec           ();
-    uint8_t volumeGet           ();
-    uint8_t getPlaybackStatus   ();
-    uint8_t recordFile          (const char *fileName); // .wav
-};
-/*-----------------------------------*/
-
-#endif  /* RAPIDMP3_H */
-