Factored out arduino_pins_info() in cpp example.