Advanced Operating Systems - Final Project A @ Tokyo Tech ////////////// Author: Chu Van Thiem and Sidik Soleman ////////////// A WAVE file player on the MBED Application Board with an interface to a software on PC via a TCP connection. ////////////// Main functions: 1. Browse files of an attached USB flash 2. The list of the files of the attached USB are displayed on the LCD 3. Use an joystick to select a WAVE file and give an instruction to play that file 4. Adjust the volume using a potentiometer 5. Output audio to the analog audio out jack ////////////// Software (https://github.com/thiemcv/VS/tree/master/Terminal): 1. Connect with the MBED application board via Ethernet connection 2. Read the list of files stored on the USB flash 3. Write files to the USB flash
Dependencies: C12832_lcd EthernetInterface USBHost mbed-rtos mbed wave_player
Revision 4:2df863d484a1, committed 2014-02-13
- Comitter:
- aos
- Date:
- Thu Feb 13 16:20:17 2014 +0000
- Parent:
- 3:70986366d042
- Child:
- 5:12a48b7c41bf
- Commit message:
- Update list of files after receiving a file from PC
Changed in this revision
| src/tcp_task.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/src/tcp_task.cpp Thu Feb 13 07:13:52 2014 +0000
+++ b/src/tcp_task.cpp Thu Feb 13 16:20:17 2014 +0000
@@ -229,6 +229,8 @@
if (last_frame)
{
fclose(fp);
+ // Reload filenames
+ u->listdir("/");
play_en = 1;
}
cmd_state = STATE_IDLE;