Yes, you do set the Port to Output by performing an Output operation on it. Just as I said in my last posting... it can really ruin your day if you're not paying attention.