This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529: Is it proper to continuously switch a GPIO Direction (I/p to O/p and vice versa) at a rate of 1 ms ?

Part Number: MSP430F5529


hello every one ,

                               i want to interface a push button Switch and LED on same GPIO. i have already built the circuit and successfully interfaced both switch and LED on same pin. Now I have one question is it fine to change direction register of controller continuously  [ from internal hardware point of view ]. 

i am using pin5 of port 7 in 430F5529. 

**Attention** This is a public forum