Hallo,

hast Du von PORTx oder PINx gelesen ?
Eingang ist an PINx !