/* \classmethod \constructor(id, ...) Create a new Pin object associated with the id. If additional arguments are given, they are used to initialise the pin. See  */
STATIC mp_obj_t pin_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
/* \classmethod \constructor(id, ...) Create a new Pin object associated with the id. If additional arguments are given, they are used to initialise the pin. See  */
STATIC mp_obj_t pin_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
{
        mp_map_t kw_args;
        mp_map_init_fixed_table(&kw_args, n_kw, args + n_args);
        pin_obj_init_helper(pin, n_args - 1, args + 1, &kw_args);
    }
    return (mp_obj_t)pin;
}