majenko:
fungus:
OK...I retract everything I said so far.You don't need to retract everything... It's still the case that you can't (or certainly shouldn't) use digital IO pins as ground.
Apart from that bit, obviously... connecting to a proper ground pin isn't the same as connecting through a transistor (BJT or MOSFET).