Swap functionality of PB7 and PD5