@magic33, Neutro
habt ihr euch schon einmal die Help zum Thema Config Port angesehen?

Config Port

Action
Sets the port or a port pin to the right data direction.

Syntax
CONFIG PORTx = state
CONFIG PINx.y = state

Ist genau das, was er schreibt und was so auch super funktioniert.

Gruß

Rolf