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.
Fork of MFRC522 by
Revision 2:7d80320beb72, committed 2017-12-22
- Comitter:
- sheralikhan
- Date:
- Fri Dec 22 09:16:37 2017 +0000
- Parent:
- 1:63d729186747
- Commit message:
- Uploaded for testing
Changed in this revision
| MFRC522.cpp | Show annotated file Show diff for this revision Revisions of this file |
| MFRC522.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 63d729186747 -r 7d80320beb72 MFRC522.cpp
--- a/MFRC522.cpp Mon Jan 06 15:00:15 2014 +0000
+++ b/MFRC522.cpp Fri Dec 22 09:16:37 2017 +0000
@@ -55,7 +55,7 @@
{
/* Configure SPI bus */
m_SPI.format(8, 0);
- m_SPI.frequency(8000000);
+ m_SPI.frequency(5000000);
/* Release SPI-CS pin */
m_CS = 1;
diff -r 63d729186747 -r 7d80320beb72 MFRC522.h
--- a/MFRC522.h Mon Jan 06 15:00:15 2014 +0000
+++ b/MFRC522.h Fri Dec 22 09:16:37 2017 +0000
@@ -306,7 +306,7 @@
// A struct used for passing the UID of a PICC.
typedef struct {
uint8_t size; // Number of bytes in the UID. 4, 7 or 10.
- uint8_t uidByte[10];
+ uint8_t uidByte[5];
uint8_t sak; // The SAK (Select acknowledge) byte returned from the PICC after successful selection.
} Uid;
