mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Add PIN defines, so the pins can easily be used by external libraries
See: arduino/Arduino#4814
For instance this is used by the USB Host library: 231fb542a8
This commit is contained in:
@ -28,8 +28,11 @@
|
||||
|
||||
#include "../generic/common.h"
|
||||
|
||||
static const uint8_t SDA = 4;
|
||||
static const uint8_t SCL = 5;
|
||||
#define PIN_WIRE_SDA (4)
|
||||
#define PIN_WIRE_SCL (5)
|
||||
|
||||
static const uint8_t SDA = PIN_WIRE_SDA;
|
||||
static const uint8_t SCL = PIN_WIRE_SCL;
|
||||
|
||||
static const uint8_t LED_BUILTIN = 0;
|
||||
static const uint8_t BUILTIN_LED = 0;
|
||||
|
Reference in New Issue
Block a user