To Mr. Darrel Taylor once again


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Hardware or software ?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    Hardware..

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You will need to setup a couple of variables. One for Dutycycle and one for Frequency to control the Channel.
    Code:
    DC  VAR BYTE   'Dutycycle
    FQ  VAR WORD  'Frequency
    
    HPWM 1,DC,FQ
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default multi_SPWM

    I'm using multi_SPWM. I'm wondering if there is a way to change the frequency using a pot?

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Not the way it is written.

    The frequency is calculated a compile-time and cannot be changed at run-time.

    Of course, that doesn't mean it can't be done.
    Just that you can't do it with that program.
    <br>
    DT

Similar Threads

  1. Timer1 and Timer2 interrupts, Darrel Taylor
    By ronbowalker in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th December 2009, 18:38
  2. darrel taylor's instant interrupt compiler error
    By delta_boogie in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 20th October 2009, 19:07
  3. Darrel Taylor Interrupts I2C Problem
    By dcorraliza in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 26th March 2008, 02:13
  4. To Mr. Darrel T. :)
    By atwoz in forum General
    Replies: 3
    Last Post: - 16th December 2007, 19:24
  5. using darrel taylor's instant interrupts
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st July 2007, 04:07

Members who have read this thread : 1

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