My application is reading the wind speed and direction from a TX23U sensor. These are not designed to be interfaced with the PI, but with a proprietary weather station. However, someone figured out the communication protocol which can be found here.
The site describes the TX connection should be tied to high, and pulled low to signal the sensor to begin transmitting.
How though, could I pull the TX connection low and then read the data the sensor outputs through that same pin right after?
From what I understand, a GPIO pin's input/output function must be specified first. Is there a way to switch the functionality of the pin from output to input? Or is there another way of using two pins to perform this function which I am not seeing?