1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-20 10:24:18 +03:00

A0 pin number can be changed in the variants (#4778)

This commit is contained in:
acosinwork
2018-05-31 15:23:32 +03:00
committed by david gauchard
parent 1a9403df1b
commit ab7e109e4c

View File

@ -47,7 +47,9 @@ static const uint8_t MOSI = PIN_SPI_MOSI;
static const uint8_t MISO = PIN_SPI_MISO;
static const uint8_t SCK = PIN_SPI_SCK;
#ifndef PIN_A0
#define PIN_A0 (17)
#endif /* PIN_A0 */
static const uint8_t A0 = PIN_A0;