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