14.4. arduino_pro_micro — Arduino Pro Micro

Source code: src/boards/arduino_pro_micro/board.h, src/boards/arduino_pro_micro/board.c

Hardware reference: Arduino Pro Micro


pin_d2_dev pin_device[11]
pin_d3_dev pin_device[10]
pin_d4_dev pin_device[14]
pin_d5_dev pin_device[8]
pin_d6_dev pin_device[17]
pin_d7_dev pin_device[18]
pin_d8_dev pin_device[4]
pin_d9_dev pin_device[5]
pin_d10_dev pin_device[6]
pin_d14_dev pin_device[3]
pin_d15_dev pin_device[1]
pin_d16_dev pin_device[2]
pin_a0_dev pin_device[24]
pin_a1_dev pin_device[23]
pin_a2_dev pin_device[22]
pin_a3_dev pin_device[21]
pin_led_dev pin_device[0]
exti_d2_dev exti_device[0]
exti_d3_dev exti_device[1]
pwm_d3_dev pwm_device[3]
pwm_d9_dev pwm_device[0]
pwm_d10_dev pwm_device[1]
pwm_d11_dev pwm_device[2]
adc_0_dev adc_device[0]
i2c_0_dev i2c_device[0]


int board_pin_string_to_device_index(const char *str_p)

Convert given pin string to the pin number.

Pin number or negative error code.
  • str_p: Pin as a string.