I am currently confused on how to make one pin of the microcontroller output a high and another pin output a low. The dual h-bridge motor driver uses 2 logic pins to drive the motor in both directions depending on the logic. On an Arduino, DigitalWrite() with 1 or 0 made the pin high or low. I am stuck on doing this on the TM4C123GXL.
I tried using GPIOPinWrite with the 3rd parameter as 0x0 for low and the GPIO_PIN_(X) for high, but it did not work.
Any help would be greatly appreciated!