![](/media/cache/profiles/cbc2ff16600e75703756975f9ba0586c.jpg.50x50_q85.jpg)
Smart pole
Dependencies: FTPClient SDFileSystem WIZnetInterface mbed
Fork of FTP_Streaming_Music_Player_WIZwiki-W7500 by
Diff: VS1002.cpp
- Revision:
- 1:c47c255fcad4
- Parent:
- 0:fa775d326f9c
diff -r fa775d326f9c -r c47c255fcad4 VS1002.cpp --- a/VS1002.cpp Tue Sep 22 23:14:59 2015 +0000 +++ b/VS1002.cpp Fri Oct 30 03:53:23 2015 +0000 @@ -2,7 +2,6 @@ #include "mbed.h" Serial pc(USBTX, USBRX); -TextLCD lcd(D8, D9, D0, D1, D2, D15); /* ================================================================== * Constructor @@ -185,20 +184,9 @@ unsigned char array[512]; //array for reading data from file bool play_new=false; // Variable to see if new_song has be assigned or not song = fopen(str, "r"); // Open the music file in read mode - /* Printing to LCD the present status */ - lcd.cls(); - if(pause) - lcd.printf(" Paused "); - if(mute) - lcd.printf("Muted"); - if(!mute && !pause) - lcd.printf(" Playing..."); - - lcd.printf("\n %d %s",new_song_number,song_name[new_song_number-1]); if(!song) { - lcd.printf("\n \n Error!!"); new_song_number+=1; // Goto Next song on completion of one song if(new_song_number==10) new_song_number=1;