I now have a transistor connected correctly, and can make it work as a switch for an LED, but I don't know how to connect this with my computer. I tried connecting the transistor base to the parallel ground pins as well as the data pins (turned on), although none of that worked.