Ich nehme an, du hast
config portc = output
irgendwo hingeschrieben ?