EVAL-AD7124 Mbed Example Program.
Dependencies: adi_console_menu platform_drivers
Diff: app/app_config.h
- Revision:
- 7:3e1005bd4d41
- Parent:
- 6:46c263287b2f
diff -r 46c263287b2f -r 3e1005bd4d41 app/app_config.h --- a/app/app_config.h Wed Dec 02 11:23:19 2020 +0000 +++ b/app/app_config.h Tue Aug 03 12:05:42 2021 +0100 @@ -29,17 +29,11 @@ // Pin mapping of AD7124 with SDP-K1/Arduino (reference: PinNames.h) #ifdef ARDUINO -#define I2C_SCL D15 // I2C_SCL -#define I2C_SDA D14 // I2C_SDA - #define SPI_SS_A D10 // SPI_CS -#define SPI_MISO D11 // SPI_MISO -#define SPI_MOSI D12 // SPI_MOSI +#define SPI_MISO D12 // SPI_MISO +#define SPI_MOSI D11 // SPI_MOSI #define SPI_SCK D13 // SPI_SCK #else -#define I2C_SCL SDP_I2C_SCL // PH_7 -#define I2C_SDA SDP_I2C_SDA // PC_9 - #define SPI_SS_A SDP_SPI_CS_A // PB_9 #define SPI_MISO SDP_SPI_MISO // PF_8 #define SPI_MOSI SDP_SPI_MOSI // PF_9