Fix initial port and pin position

Authored by habacker on Oct 23 2019, 10:10 PM.