Phase correct PWM on Tiny13

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guidance required on above subject.

I wish to generate phase correct PWM on Tiny13 such that both frequency and duty cycle are settable.

The manual suggests to use OCR0A register as TOP value ( to adjust frequency ).

Is OCR0B used as the duty cycle setting register?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes.

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Taa muchly Steve