Updated functions digitalWordWrite() and pinMode()