I have my doubts on leaving inputs floating.
Usually if I have any unused ports, I turn them as outputs and clear them.
If they are inputs, maybe enable the pull ups if any or tie them to ground.
A floating pin can cause troubles in certain cases.
Ioannis
Bookmarks