help hpwm in pic 16F88


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    You can't change config settings with @ DEVICE at runtime.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2


    Did you find this post helpful? Yes | No

    Default Huh... I didn't RTFDS

    Quote Originally Posted by Bruce View Post
    You can't change config settings with @ DEVICE at runtime.
    I've never had to do it so it didn't occur to me that you couldn't change this during runtime; I could think of situations when you might want to switch between running PWM to different devices at run time. I had to go back and look:

    "15.1 Configuration Bits
    The configuration bits can be programmed (read as ‘0’), or left unprogrammed (read as ‘1’), to select various device configurations. These bits are mapped
    in program memory locations 2007h and 2008h. The user will note that address 2007h is beyond the user program memory space which can be accessed only during programming."

    I don't have an application for this, but I would have thought you could(switch between RB.0 and RB.3) at run-time. Hmmm... learn something new...

  3. #3
    Join Date
    Aug 2007
    Posts
    9


    Did you find this post helpful? Yes | No

    Default

    The Frequency it not my probl ok for this point ,but my probl is the switching betwen rb.0 and rb.3

    thank you for help

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


    Did you find this post helpful? Yes | No

    Default

    Being you want to change pins why not use the software PWM.
    Dave
    Always wear safety glasses while programming.

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