Hello all,
i was reading this article digitalWrite() - Arduino Reference and it says,
If the pin has been configured as an OUTPUT with pinMode(), its voltage will be set to the corresponding value: 5V (or 3.3V on 3.3V boards) for HIGH, 0V (ground) for LOW.
what i want to know is how do i control wheather it sets the bit to 5v or 3.3v and which voltage does it output by default.
Thanks