Add parse_pins function removed from the mbed library