#include <stdint.h>
#include "PinNames.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
Go to the source code of this file.
◆ ACTIVE_DEVICE
#define ACTIVE_DEVICE ID_ADT7320 |
#define your chosen device here from the adt7420_type (adt7420.h) enum
◆ EOL
Add a line-ending constant as different emulators implement it in various ways - simple to change it here
◆ EXT_I2C_ADDRESS
#define EXT_I2C_ADDRESS 0x49 |
ADT7420 is a 7-bit I2C address
◆ i2c_platform_ops
#define i2c_platform_ops mbed_i2c_ops |
◆ I2C_SCL
#define I2C_SCL ARDUINO_UNO_D15 |
The ADI SDP_K1 can be used with either arduino headers or the 120-pin SDP connector found on ADI evaluation boards. The default is the Arduino connector
◆ I2C_SDA
#define I2C_SDA ARDUINO_UNO_D14 |
◆ INT_I2C_ADDRESS
#define INT_I2C_ADDRESS 0x48 |
◆ SPI_CSB
#define SPI_CSB ARDUINO_UNO_D10 |
◆ SPI_CSE
#define SPI_CSE ARDUINO_UNO_D9 |
◆ SPI_HOST_SDI
#define SPI_HOST_SDI ARDUINO_UNO_D12 |
◆ SPI_HOST_SDO
#define SPI_HOST_SDO ARDUINO_UNO_D11 |
◆ spi_platform_ops
#define spi_platform_ops mbed_spi_ops |
◆ SPI_SCK
#define SPI_SCK ARDUINO_UNO_D13 |