Best way to shut down HPWM channel?


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Jun 2008
    Location
    Arizona
    Posts
    9

    Default Best way to shut down HPWM channel?

    Hi,

    I am playing with a circuit that charges a capacitor and then dumps it into a battery (pulse charging). All I need to do is turn HPWM channel 1 on and charge cap, then turn HPWM channel 1 off and Turn HPWM channel 2 on to dump the charge back to the battery. Code is attached, but I am wondering if setting CCP1CON to disable is the best way to turn off channel 1 before I turn on channel 2?

    Thanks in advance.
    Attached Files Attached Files

Similar Threads

  1. Multiple HPWM question
    By Johan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th October 2007, 13:00
  2. need help on hpwm
    By helmut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th August 2007, 15:49
  3. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05
  4. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  5. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43

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