V148
Fork of RadioHead-148 by
Diff: RHHardwareSPI.cpp
- Revision:
- 1:b7641da2b203
- Parent:
- 0:ab4e012489ef
diff -r ab4e012489ef -r b7641da2b203 RHHardwareSPI.cpp --- a/RHHardwareSPI.cpp Thu Oct 15 01:27:00 2015 +0000 +++ b/RHHardwareSPI.cpp Wed Oct 25 05:14:09 2017 +0000 @@ -19,9 +19,9 @@ HardwareSPI _SPI(1); #elif (RH_PLATFORM == RH_PLATFORM_MBED) // MBed // Declare an SPI interface to use -#define SPI_MOSI PB_15 -#define SPI_MISO PB_14 -#define SPI_CLK PB_13 +#define SPI_MOSI PA_3 +#define SPI_MISO PA_2 +#define SPI_CLK PA_1 SPI _SPI(SPI_MOSI, SPI_MISO, SPI_CLK);