Fixed the pinout to something that makes sense for the new orientation. Also, going to bed.