reverse the orientation of the GPIO socket