Thanks, AnAnalyst, your comment just made me understand what I'm running into.....I think. I'm trying to use a 4-wire stepper motor with this shield, along with the Stepper library. I'm starting to think I can't use the library here to instantiate using the 4-pin constructor. It would need to be instantiated with dirA, dirA#, dirB, and dirB#, but, as you stated, since dirA# and dirB# aren't brought out to pins, that presents a problem. Instead, I'm resorting to using digitalWrites on dirA, dirB, brakeA, and brakeB.
4-pin constructor from the Stepper class: Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2, int motor_pin_3, int motor_pin_4)
Here's what I've worked out. Let me know if I'm remotely close here. Since both dirA and brakeA are used as inputs in the XNOR 4077d to get dirA#, I need to toggle brakeA accordingly (based on dirA), to get the proper dirA#. So, here is a sequence to drive the stepper, showing the input needed to the L298P.
Input to L298P
dirA dirA# dirB dirB#
0011
0110
1100
1001
But since I don't have direct access to dirA# and dirB# as inputs, I have to use brakeA and brakeB through the 4077d's. So based on XNOR, this would be the corresponding sequence to achieve the above input to the L298P.
Pin settings to achieve above input - XNOR
dirA brakeA dirB brakeB
0011
0010
1101
1000
So in this case, I should be able to set dirA, brakeA, dirB, and brakeB in this sequence, correct? That will give me the proper input to the L298P? If this isn't correct, please let me know how you will update your code to get your stepper working correctly.
Thanks!