Author Topic: pwm phase delay  (Read 2207 times)


  • Newbie
  • *
  • Posts: 10
pwm phase delay
« on: May 04, 2015, 06:14:37 PM »

I have the following code.  I'm using 2 pwm pins to generate 2 pulses.  How do I add a phase delay on pwm pin 2.  I notice that both pulse goes from low to high at the same time.  I'm monitoring the 2 pulses using an oscilloscope.  I would appreciate any help.  Thanks.

mb.pwmDuty(1, 200)
mb.pwmDuty(2, 700)