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:
committed by
david gauchard
parent
1a9403df1b
commit
ab7e109e4c
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user