Hallo Marco78

Ja, das mit dem PDF ist so gewollt

Mit dem Meg16 habe ich noch nicht probiert.....
Warum hast Du da im Code: zweimal "Config Pind.4= Output" ?