ADD TARGET_NUCLEO_F446ZE
Fork of MFRC522 by
Diff: MFRC522.cpp
- Revision:
- 2:1afff2a563ca
- Parent:
- 1:63d729186747
diff -r 63d729186747 -r 1afff2a563ca MFRC522.cpp --- a/MFRC522.cpp Mon Jan 06 15:00:15 2014 +0000 +++ b/MFRC522.cpp Fri Oct 21 13:31:31 2016 +0000 @@ -55,7 +55,11 @@ { /* Configure SPI bus */ m_SPI.format(8, 0); +#if defined(TARGET_NUCLEO_F446ZE) + m_SPI.frequency(20000000); +#else m_SPI.frequency(8000000); +#endif /* Release SPI-CS pin */ m_CS = 1;