Timing scheme


Closed Thread
Results 1 to 9 of 9

Thread: Timing scheme

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    I think what you are talking about is 'VERY VERY Very slow speed PWM'
    Is the code in your other post about the same subject still the same?

  2. #2
    Join Date
    Jan 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    I had figured out how to do the other post by using the code below...

    ON_TIME:
    PAUSE 525 ' low end pause time
    for i = 1 to ON_counter step 1 ' high end pause loop time
    GOSUB READ_A_D_AN0
    PAUSEus 4750
    nEXT I
    RETURN

    OFF_TIME:
    PAUSE 525 ' low end pause time
    for i = 1 to OFF_counter step 1 ' high end pause loop time
    GOSUB READ_A_D_AN1
    PAUSEus 4750
    nEXT I
    RETURN



    I used this with AD on the two pots and then just called on time of off time when it was neccessary. But now i have to coordinate these two time ranges together as explained above. I appreciate your help.

Similar Threads

  1. 12F683 serout timing
    By Hobie Cat in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st December 2009, 16:57
  2. 18F2550 timing
    By sstt1976 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 22nd August 2008, 00:30
  3. PIC 12c509 - No External timing components
    By stay_aliveuk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th September 2006, 17:20
  4. Questions on timing
    By malc-c in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2006, 22:38
  5. HSEROUT buffering and timing - 16F88
    By picster in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th March 2006, 17:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts