esp8266-esp-12x/include/arduino_board.h

Board specific configuration for the Arduino API.

ARDUINO_LED

The on-board LED is connected to pin 2 on this board.

1
(GPIO2)
const gpio.h::gpio_t arduino_pinmap()

Look-up table for the Arduino’s digital pins.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
= {
    GPIO1,      
    GPIO3,      
    GPIO0,      
    GPIO2,      




    GPIO_UNDEF, 
    GPIO_UNDEF, 

    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO15,     
    GPIO13,     
    GPIO12,     
    GPIO14,     
    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO_UNDEF, 
    GPIO4,      
    GPIO5,      
}
const adc.h::adc_t arduino_analog_map()

Look-up table for the Arduino’s analog pins.

1
2
= {
}