[PD] Extrange digital pin behaviour in arduino mega