From ea7fbdec6b228f86ed8c53c6c367db45c3396071 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Mon, 4 Apr 2016 15:03:14 -0400 Subject: [PATCH] Port SDA and SCL symbols to SAM --- hardware/arduino/sam/variants/arduino_due_x/variant.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hardware/arduino/sam/variants/arduino_due_x/variant.h b/hardware/arduino/sam/variants/arduino_due_x/variant.h index 6725a139c..4ce2d1a08 100644 --- a/hardware/arduino/sam/variants/arduino_due_x/variant.h +++ b/hardware/arduino/sam/variants/arduino_due_x/variant.h @@ -153,6 +153,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 */