WavPlayer.h changed to circuit board

Dependents:   WavPlayerSD WavPlayerUSB WavPlayerUSB WavPlayerSD_CB

Revision:
4:b0186c8dca92
Parent:
1:3eb96771bbee
--- a/I2S/I2S.cpp	Fri Sep 21 14:24:00 2012 +0000
+++ b/I2S/I2S.cpp	Sun Apr 14 16:22:17 2019 +0000
@@ -441,11 +441,11 @@
 
     if (_rxtx == I2S_TRANSMIT) {
         printf("\n\rSetting up pins....\n\r");
-        if (_sd != p5)
+        if (_sd != p11)
             pin_setup_err++;
-        if (_ws != p6 && ws_d == true)
+        if (_ws != p13 && ws_d == true)
             pin_setup_err++;
-        if (_clk != p7 && clk_d == true)
+        if (_clk != p12 && clk_d == true)
             pin_setup_err++;
         printf("Hmm....%i\n\r", pin_setup_err);
     } else {
@@ -477,7 +477,7 @@
                 val2 = 0;
             }
 
-            if (_sd == p8)
+            if (_sd == p15)
                 LPC_PINCON->PINSEL0 |= (val1 << 12);
             else
                 LPC_PINCON->PINSEL1 |= (val2 << 18);
@@ -490,7 +490,7 @@
             }
 
             if (clk_d == true) {
-                if (_clk == p15)
+                if (_clk == p16)
                     LPC_PINCON->PINSEL0 |= (val1 << 8);
                 else
                     LPC_PINCON->PINSEL1 |= (val2 << 14);