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 FRDM_MFRC522 by
Diff: main.cpp
- Revision:
- 2:1c050fb3fec0
- Parent:
- 1:8e41a7b03f45
--- a/main.cpp Wed Dec 18 00:46:40 2013 +0000 +++ b/main.cpp Fri Oct 21 13:32:28 2016 +0000 @@ -35,6 +35,24 @@ #define LED_RED P0_7 #define LED_GREEN P1_22 +#elif defined(TARGET_NUCLEO_F446ZE) +/* NUCLEO_F446ZE Pins for MFRC522 SPI interface */ +#define SPI_MOSI D11 +#define SPI_MISO D12 +#define SPI_SCLK D13 +#define SPI_CS D10 + +/* NUCLEO_F446ZE Pin for MFRC522 reset */ +#define MF_RESET D9 + +/* NUCLEO_F446ZE Pins for UART Debug port */ +#define UART_RX PD_9 +#define UART_TX PD_8 + +/* LED Pins */ +#define LED_RED LED2 +#define LED_GREEN LED3 + #endif DigitalOut LedRed (LED_RED);