Change pin direction on CY8CKIT-001 | Cypress Semiconductor
August 17, 2017: We apologize for any difficulties or delays in posting new discussions to the Community on cypress.com. We are in the process of merging our support forums onto a single platform in an effort to create a much-improved community experience for you.
Change pin direction on CY8CKIT-001
I am a complete noob when it comes to PSoC.
How can I dynamically set a GPIO pin as input or output, as and when needed (as in the 1-wire protocol) on the PSoC 5?
In the 1-wire protocol, I have to pull the line low for a certain amount of time, and then "release" the line by setting the pin as an input, and then read the value on the line.
Can anyone please help me with this?