Help with HPWM on 18f6520


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    But we already know they don't come here.
    <br>
    I was not aware of that. Pity...all this good info, gone to waste...ok, not really. You figure after awhile, some of us are going to end up with a sort of a next-gen PBP without MeLabs support.

    Quote Originally Posted by Ioannis View Post
    Unless you 've put a bomb at their office, I can't understand why a brilliant programmer, that is using the PBP to its maximum, is not amiable to Melabs.
    If it is true, I will think a lot about next upgrade!
    Ioannis
    That goes double here!

  2. #2
    Join Date
    Apr 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default

    Hello Everybody,

    First of all, thank you for all the great responses. I now have PWM working great on all 5 channels by addressing the registers directly, as suggested by Charles. As an added bonus, the PWM resolution is 10bit.

    As Darrel said, it is probably a bit "advanced" for me to start modifying system/library files at this stage.

    The 18F6520 also has 12 analog inputs. Are there any "gotchas" or limits on the number of channels when using the ADCIN command?

    Andy

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Andy Wood View Post
    The 18F6520 also has 12 analog inputs. Are there any "gotchas" or limits on the number of channels when using the ADCIN command?
    Andy
    Check that same file I listed above pbppic18.lib
    I'm not at the house so I can't check it myself.
    Search thru the file for ADCIN. Even though you're not comfortable modifying the file, you might be able to get some clues as to how many channels ADCIN will handle. The PBP manual isn't specific enough.

Similar Threads

  1. need help on hpwm
    By helmut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th August 2007, 15:49
  2. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05
  3. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  4. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  5. HPWM usage with the 18F6520
    By slxrti in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th November 2005, 16:57

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