Accidentally grouped PortB and PortD pins