keyboardcowboy
Member level 2
This is a general question, and can apply to any micro-controller.
If I have a pin configured as output and connected to an led, how can I prevent the led from turning on briefly when the uC is turned on or reset. As the uC turns on (or is reset), all the pins are high, and then it starts to execute code, which makes the pin low and hence turn the led off. This can also apply to motors, they will turn for a very short time when the uC starts
If I have a pin configured as output and connected to an led, how can I prevent the led from turning on briefly when the uC is turned on or reset. As the uC turns on (or is reset), all the pins are high, and then it starts to execute code, which makes the pin low and hence turn the led off. This can also apply to motors, they will turn for a very short time when the uC starts