10 years, 8 months ago.

MBED Pins

Is it possible to program the mbed to have one of the PWM pins to act as a groud for controlling a H-Bridge circuit. I am using to PNP and Two NPN transistors.

1 Answer

10 years, 8 months ago.

How do you mean ground? Ground as in ground? Sure you can put it low, or you just use the ground pin for that.

Or ground as in anti-phase of the other PWM? The LPC1768 can use dual edge PWM which allows you to also change the phase of the PWM, but you then have to dive into the user manual since the default library doesn't do it.