Pwm & dac


Results 1 to 9 of 9

Thread: Pwm & dac

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    This forum has a minimum of 4 characters for its searches. But you can get around that with a google search of the site: http://www.picbasic.co.uk/forum/cont...-for-the-Forum

    When you say 2 discrete PWM frequencies, do you really mean sinewave, or just 2 discrete PWM periods? I see page 229 of the datasheet lets you select timer 2,4 or 6 for each of the CCPx pins. Bruce has a DSM example which includes single PWM here: http://www.picbasic.co.uk/forum/show...4268#post84268 using timer2 and PR2. You could use some of the basic PWM code from his example (he's got it mixing pins and such), and set up another with timer4 and PR4.
    Last edited by ScaleRobotics; - 22nd October 2010 at 16:55.
    http://www.scalerobotics.com

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts