Set port and pin reporting only when pinMode is INPUT or ANALOG. Fixes gh-69. Closes gh-65. Closes gh-58

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>