Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ESPduino pin definitions #4828

Merged
merged 4 commits into from
Oct 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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