Skip to content

Commit

Permalink
Update ESPduino pin definitions (#4828)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexceltare2 authored and earlephilhower committed Oct 5, 2018
1 parent 656bf14 commit 83a50d6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions variants/ESPDuino/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@
static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;

// All digital pins are PWM capable
static const uint8_t D0 = 0;
static const uint8_t D1 = 1; //TX0
static const uint8_t D2 = 2;
static const uint8_t D3 = 3; //RX0
static const uint8_t D4 = 4;
static const uint8_t D5 = 5;
static const uint8_t D12 = 12; // MISO
static const uint8_t D13 = 13; // MOSI
static const uint8_t D14 = 14; // SCK
static const uint8_t D15 = 15; // SS(SDA)
static const uint8_t D16 = 16; // LED_BUILTIN
static const uint8_t RX0 = 3;
static const uint8_t TX0 = 1;

#define LED_BUILTIN 16

#include "../generic/common.h"
Expand Down

0 comments on commit 83a50d6

Please sign in to comment.