I'm a bit new to circuitry, and recently I have been experimenting with transistors, attempting to create some logic gates. I realized however, that basically all of my logic gates output a positive voltage (the emitter receives current from a 5V battery), and if I were to connect two gates, I needed the outputs of the first gate to be used as inputs for the second gate (meaning that the positive current would have to flow into the base of the second gate). My question is, how can you do that? I have spent a lot of time looking into transistors, and it seems to me that only current coming from ground can go through the base of a PNP transistor.
I'm sorry if the problem is due to a major misunderstanding on my part, like I said, I am pretty new to circuitry.