parent
3cb5c315f3
commit
3d17a56ecf
1 changed files with 11 additions and 9 deletions
|
|
@ -53,8 +53,17 @@ static const uint8_t D18 = (9u);
|
|||
|
||||
|
||||
// Wire
|
||||
#define PIN_WIRE1_SDA (16u)
|
||||
#define PIN_WIRE1_SCL (17u)
|
||||
#define __WIRE0_DEVICE (i2c0)
|
||||
#define PIN_WIRE0_SDA (16u)
|
||||
#define PIN_WIRE0_SCL (17u)
|
||||
#define SDA PIN_WIRE0_SDA
|
||||
#define SCL PIN_WIRE0_SCL
|
||||
#define I2C_SDA (SDA)
|
||||
#define I2C_SCL (SCL)
|
||||
|
||||
#define __WIRE1_DEVICE (i2c1)
|
||||
#define PIN_WIRE1_SDA (6u)
|
||||
#define PIN_WIRE1_SCL (7u)
|
||||
|
||||
#define SERIAL_HOWMANY (3u)
|
||||
#define SPI_HOWMANY (2u)
|
||||
|
|
@ -66,10 +75,3 @@ static const uint8_t MISO = PIN_SPI0_MISO;
|
|||
static const uint8_t SCK = PIN_SPI0_SCK;
|
||||
static const uint8_t SS = PIN_SPI0_SS;
|
||||
|
||||
#define __WIRE0_DEVICE (i2c1)
|
||||
#define PIN_WIRE0_SDA (6u)
|
||||
#define PIN_WIRE0_SCL (7u)
|
||||
#define SDA PIN_WIRE0_SDA
|
||||
#define SCL PIN_WIRE0_SCL
|
||||
#define I2C_SDA (SDA)
|
||||
#define I2C_SCL (SCL)
|
||||
Loading…
Reference in a new issue