Attempt to fix reading input pin values
Merge branch 'outputpinwoes'