Uing the fllowing pins with a button with an incorporated led?

Yes, this precaution can save a lot of headaches, especially for beginners who regularly connect LEDs without a resistor :roll_eyes: Somewhere, they even recommend always putting a resistor in series with a GPIO.