1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Merge pull request #4813 from sandeepmistry/sam-i2c-symbols

Port SDA and SCL symbols to SAM
This commit is contained in:
Arturo Guadalupi 2016-07-07 17:49:39 +02:00 committed by GitHub
commit 3d92deb7a3

View File

@ -154,6 +154,11 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define WIRE1_ISR_HANDLER TWI0_Handler
#define WIRE1_ISR_ID TWI0_IRQn
static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
static const uint8_t SDA1 = PIN_WIRE1_SDA;
static const uint8_t SCL1 = PIN_WIRE1_SCL;
/*
* UART/USART Interfaces
*/