Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd EthernetInterface USBHost mbed-rtos mbed wave_player
player.h
00001 /* FILE: player.h by Sidik Soleman 00002 */ 00003 #ifndef __PLAYER_H__ 00004 #define __PLAYER_H__ 00005 00006 #include "mbed.h" 00007 #include "wave_player.h" 00008 #include "C12832_lcd.h" 00009 #include "string" 00010 #include "vector" 00011 #include "usb.h" 00012 #define NSAMPLE 25 00013 00014 void play(char* song); 00015 void welcome(); 00016 void print(vector<string> *listoffile, int current); 00017 /* JoyValue = 1: up, 2: down, 3: play */ 00018 void joystickcontrol(); 00019 void controlvolume(); 00020 00021 #endif
Generated on Tue Aug 2 2022 16:59:57 by
1.7.2