Help to Pre Scale 4mhz to 20mhz


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133

    Unhappy Help to Pre Scale 4mhz to 20mhz

    this is my Code at 4mhz (pic18f252)

    MotorDC VAR CCPR1L
    MotorOut VAR PORTC.2
    MotorOn CON %1111110 '16 Pre/Post scale
    MotorOff CON %1111010
    MotorEnable VAR T2CON 'Timer2 ControlRegister

    how to change to 20mhz to work the same like 4mhz
    Last edited by jetpr; - 16th September 2005 at 01:16.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Default Help to Pre Scale 4mhz to 20mhz

    his is my Code at 4mhz (pic18f252)

    MotorDC VAR CCPR1L
    MotorOut VAR PORTC.2
    MotorOn CON %1111110 '16 Pre/Post scale
    MotorOff CON %1111010
    MotorEnable VAR T2CON 'Timer2 ControlRegister

    how to change to 20mhz to work the same like 4mhz

    I do not understand.

    who i get %1111110 this number from the link you send my..
    i am never don this before so i am lost..

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    so the obvious questions remain...
    what do you want to do?
    what result do you expect?
    Where?
    How?

    Everybody sing this song!! Doo DAH Doo Dah !! And everybody sing this song All DeDoo Dah Day!!!

    Sorry my last brain cell burned...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Unhappy Help to Pre Scale 4mhz to 20mhz

    I'm sorry i am working with a book for make small robots and does not it speak of as obtaining the values ...

    I do not want to bother nobody alone to learn.

Similar Threads

  1. TMR0 Pre Scale Question
    By shawn in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th March 2008, 05:09
  2. 4Mhz Circuit with a 20Mhz PIC
    By koossa in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 19th October 2007, 17:35
  3. HSEROUT problem at 20MHz
    By manxman in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th May 2006, 22:55
  4. Replies: 5
    Last Post: - 2nd March 2006, 09:21
  5. 18F458 and 20MHz osc problem...
    By batee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th October 2004, 20:16

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