Added proper digitalWrite function for all digital pins