Setup the led output pins and figured out the binary value for each phase