Change pin direction on CY8CKIT-001 | Cypress
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?