Is any safety available if I set the GPIO output as high and then connect GPIO to GND?
Anything could go wrong, or there won't be any issue?
Someone suggested that I should use a 10K resistor between GPIO and GND as the current limit to avoid damaging GPIO
Ps - The GPIO will be used for connecting a button