Hardware = Raspberry pi 3 B v1.2
if (gpioInitialise()<0) return 1;
At this point all I am trying to do is output TWO pwm signals using the pigpio library and gcc comilier.
based on the the spec L298
http://www.st.com/content/ccc/resource/ ... 000240.pdf
I need two opposing TTL signals in order to run a DC motor. As one is high the other is low.
The above code gives two identical pwm outputs on gpio22 and gpio27. I am using gpio23 as my ENABLE.
Instead of using a hardware inverter for the second pwm,
Is there a way for me to invert the second pwm (gpio27) using the pigpio library so that is in an inverted state as compared to gpio22?