AP mode

Dependencies:   NetworkSocketAPI WizFi310Interface mbed

Fork of WizFi310_TCP_Echo_Server_Example by WIZnet

Revision:
8:e26236864101
Parent:
6:f27c1fe6abfd
--- a/main.cpp	Tue Oct 03 03:43:34 2017 +0000
+++ b/main.cpp	Tue Oct 03 05:38:58 2017 +0000
@@ -27,10 +27,11 @@
 #define TEST_MODE 0
 #define DEMO_MODE 1
 
-#define MODE DEMO_MODE
+#define MODE TEST_MODE
 
 WizFi310Interface wifiInterface(D1, D0, D7, D6, D8, NC, 115200);
 ShiftRegisterControlClass m_register(PC_10, PC_11, PC_12);
+VS1053 *player = new VS1053(PA_08, PA_07, PA_06, PA_00, PA_05, PA_01, PA_02); // mosi, miso, sck, cs, bsync, dreq, rst
 
 int main()
 {
@@ -86,7 +87,7 @@
     
 #if MODE == DEMO_MODE
     //Decoder Init
-    VS1053 *player = new VS1053(PA_08, PA_07, PA_06, PA_00, PA_05, PA_01, PA_02); // mosi, miso, sck, cs, bsync, dreq, rst
+    //VS1053 *player = new VS1053(PA_08, PA_07, PA_06, PA_00, PA_05, PA_01, PA_02); // mosi, miso, sck, cs, bsync, dreq, rst
     player->hardwareReset(); //Make a reset to the VS1053 board
     player->modeSwitch();    //Patch the VS1054 board to play MP3 files (very important!).
 #endif