common/nucleo32/include/arduino_board.h

Board specific configuration for the Arduino API.

ARDUINO_LED

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

1
(13)
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
= {
    ARDUINO_PIN_0,
    ARDUINO_PIN_1,
    ARDUINO_PIN_2,
    ARDUINO_PIN_3,
    ARDUINO_PIN_4,
    ARDUINO_PIN_5,
    ARDUINO_PIN_6,
    ARDUINO_PIN_7,
    ARDUINO_PIN_8,
    ARDUINO_PIN_9,
    ARDUINO_PIN_10,
    ARDUINO_PIN_11,
    ARDUINO_PIN_12,
    ARDUINO_PIN_13,
    ARDUINO_PIN_A0,
    ARDUINO_PIN_A1,
    ARDUINO_PIN_A2,
    ARDUINO_PIN_A3,
    ARDUINO_PIN_A4,
    ARDUINO_PIN_A5,
    ARDUINO_PIN_A6,
    ARDUINO_PIN_A7
}
const adc.h::adc_t arduino_analog_map()

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
= {
    ARDUINO_A0,
    ARDUINO_A1,
    ARDUINO_A2,
    ARDUINO_A3,
    ARDUINO_A4,
    ARDUINO_A5,
    ARDUINO_A6,
    ARDUINO_A7,
}