Skip to content

Commit ea7fbde

Browse files
committed
Port SDA and SCL symbols to SAM
1 parent 5097212 commit ea7fbde

File tree

1 file changed

+5
-0
lines changed
  • hardware/arduino/sam/variants/arduino_due_x

1 file changed

+5
-0
lines changed

hardware/arduino/sam/variants/arduino_due_x/variant.h

+5
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ static const uint8_t SCK = PIN_SPI_SCK;
153153
#define WIRE1_ISR_HANDLER TWI0_Handler
154154
#define WIRE1_ISR_ID TWI0_IRQn
155155

156+
static const uint8_t SDA = PIN_WIRE_SDA;
157+
static const uint8_t SCL = PIN_WIRE_SCL;
158+
static const uint8_t SDA1 = PIN_WIRE1_SDA;
159+
static const uint8_t SCL1 = PIN_WIRE1_SCL;
160+
156161
/*
157162
* UART/USART Interfaces
158163
*/

0 commit comments

Comments
 (0)