1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Merge pull request #4222 from boneskull/oak-fix

add missing constants to variants/oak
This commit is contained in:
david gauchard 2018-01-24 13:42:55 +01:00 committed by GitHub
commit 575c45d1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,11 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include "../generic/common.h"
#define PIN_WIRE_SDA (2)
#define PIN_WIRE_SCL (0)
static const uint8_t P0 = 2;
static const uint8_t P1 = 5;
static const uint8_t P2 = 0;
@ -39,8 +44,8 @@ static const uint8_t P9 = 14;
static const uint8_t P10 = 16;
static const uint8_t P11 = 17;
static const uint8_t SDA = 2;
static const uint8_t SCL = 0;
static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
static const uint8_t SS = 15;
static const uint8_t MOSI = 13;