8000 Add SDA/SCL variables like other cores export (#398) · solderparty/arduino-pico@513bd81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 513bd81

Browse files
Add SDA/SCL variables like other cores export (earlephilhower#398)
Fixes earlephilhower#368. Thanks @bperrybap!
1 parent 891f653 commit 513bd81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

variants/generic/common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ static const uint8_t SS = PIN_SPI0_SS;
6767
static const uint8_t MOSI = PIN_SPI0_MOSI;
6868
static const uint8_t MISO = PIN_SPI0_MISO;
6969
static const uint8_t SCK = PIN_SPI0_SCK;
70+
71+
static const uint8_t SDA = PIN_WIRE0_SDA;
72+
static const uint8_t SCL = PIN_WIRE0_SCL;

0 commit comments

Comments
 (0)
0