Fixed CosaPins example after refactoring of InterruptPin.