stm32f4discovery/include/arduino_board.h

Board specific configuration for the Arduino API.

ARDUINO_LED
1
(2)
const gpio.h::gpio_t arduino_pinmap()
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
= {
    ARDUINO_PIN_0,
    ARDUINO_PIN_1,
    ARDUINO_PIN_2,
    ARDUINO_PIN_3,
    ARDUINO_PIN_4,
    ARDUINO_PIN_5,
    ARDUINO_PIN_6,
    ARDUINO_PIN_7,
}
const adc.h::adc_t arduino_analog_map()

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

1
2
3
4
5
6
= {
    ARDUINO_A0,
    ARDUINO_A1,
    ARDUINO_A2,
    ARDUINO_A3,
}