Pic18f2320


Closed Thread
Results 1 to 5 of 5

Thread: Pic18f2320

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Auckland/New Zealand
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: Pic18f2320

    Hi Mike,
    Thanks for your help, I need to use directly from PBP, I have an older version.
    I'm thinking of using a single PWM PIC like PIC18F1320 to control two analogue values then use sample and hold get two outputs.
    Regards,
    Suded

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Pic18f2320

    Frequency is controlled by the scaler in T2CON and the value of PR2. The setting I'm using provides for the slowest frequency possible with my OSC speed; PR2 = $FF. The reason I do this the long way is PBP3 will actually toggle PR2 between 2 values to deliver the frequency requested in the HPWM command (HPWM 1,DutyCycle,Frequency). I needed a consistent cycle-to-cycle period timing and couldn't achieve it with HPWM.

Similar Threads

  1. DHT22, AM2302 and pic18F2320
    By bitmaniac in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 15th November 2015, 00:42
  2. PIC18F2320 RA4 output problem
    By Kristjan in forum General
    Replies: 2
    Last Post: - 30th May 2007, 23:56

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