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.
Dependents: i2s_microphone LPC1768_MicrophoneSensing Receiver
Fork of I2S by
Revision 1:58bbfaf58a7b, committed 2018-01-26
- Comitter:
- 4180_1
- Date:
- Fri Jan 26 00:52:02 2018 +0000
- Parent:
- 0:455d5826751b
- Commit message:
- I2S for LPC1768 - with patch for rx clock pin
Changed in this revision
| I2S.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/I2S.cpp Wed Sep 19 10:53:33 2012 +0000
+++ b/I2S.cpp Fri Jan 26 00:52:02 2018 +0000
@@ -490,7 +490,12 @@
}
if (clk_d == true) {
- if (_clk == p15)
+
+ //
+ //I2S library patch 1/25/18 for typo to get input clock to work!
+ //patch "==" was changed to "!=" in if cond below to get I2S rx clock on correct pin
+ //
+ if (_clk != p15)
LPC_PINCON->PINSEL0 |= (val1 << 8);
else
LPC_PINCON->PINSEL1 |= (val2 << 14);
