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.
Diff: main.cpp
- Revision:
- 1:037eeb07f3fc
- Parent:
- 0:35581ea6b194
- Child:
- 2:fa941f0137b3
--- a/main.cpp Wed Apr 17 20:36:49 2019 +0000 +++ b/main.cpp Fri Jan 10 04:19:56 2020 +0000 @@ -11,10 +11,10 @@ // K64F Pin for "MFRC522 (Chip select, Clock, MOSI, MISO, IRQ, Ground, Reset, 3.3V)" #define MF_RESET D9 //Reset -#define SPI_MOSI D11 //MOSI -#define SPI_MISO D12 //MISO -#define SPI_SCK D13 //Clock -#define SPI_CS D10 //Chip Select +#define SPI_MOSI p5 //MOSI +#define SPI_MISO p6 //MISO +#define SPI_SCK p7 //Clock +#define SPI_CS p8 //Chip Select DigitalOut LedGreen(LED1); Serial pc(USBTX, USBRX);