Hi all,
I am writing some code for the PIC18F4520 micro..some of the code is to flash LEDs dependent upon certain conditions. I have set these I/O lines as outputs.
I am noticing that on switch on these LEDs are lit, sometimes randomly.
Should i make I/O lines as input initially to avoid this problem. Then configure as outputs after procesdor crystal and voltages are stable?
Thanks in advance
I am writing some code for the PIC18F4520 micro..some of the code is to flash LEDs dependent upon certain conditions. I have set these I/O lines as outputs.
I am noticing that on switch on these LEDs are lit, sometimes randomly.
Should i make I/O lines as input initially to avoid this problem. Then configure as outputs after procesdor crystal and voltages are stable?
Thanks in advance