Yes, the whole code is a LOT longer. I just truncated it to the bare minimums (except the variable assignments). I still have no idea why that particular port doesn't behave as the others do.