Hi,

Spending on a single NPN transistor and a couple of resistor do give you the flexibility to use any pin without the need for painkillers.