I believe that any input pin must be pulled either up or down depends on the use. If there is a switch normally most of the people, pull up a resistor at the input pin, and the switch goes to ground.
Now for the rest of the pins personally if the pins are output and digital, i leave them floating, but i use the command:
Just read Ioannis previous post. It is really useful info. Thanks a lot.Code:PORTx = low




Bookmarks