Shop OBEX P1 Docs P2 Docs Learn Events
_clkfreq for Servo32 object — Parallax Forums

_clkfreq for Servo32 object

MacGeek117MacGeek117 Posts: 747
edited 2006-07-04 15:23 in Propeller 1
Will the servo32 object run at _clkfreq = 5_000_000? The demo has it running at 4MHz.
RoboGeek

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"

Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2006-07-03 18:47
    It should work fine. I did try it once on a Demo Board and it seemed to work ok. In any event, all the timing is relative to CLKFREQ so it will adjust for varying clock frequencies (as long as you change _clkfreq).
  • Beau SchwabeBeau Schwabe Posts: 6,547
    edited 2006-07-03 21:20
    RoboGeek,

    "Will the servo32 object run at _clkfreq = 5_000_000"

    Yes, I believe that is why I put a note in the software to check against whatever you would be using.
    I just happened to have a bunch of 4MHz laying around that I grabbed and was developing this object with.

    The important thing, because the servo object IS time critical, is that you just need to specify what you
    will be using. Other than that it doesn’t care one way or the other.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • MacGeek117MacGeek117 Posts: 747
    edited 2006-07-04 15:23
    THANK YOU!!!!!! Sorry, Beau, I didn't see that note.
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I reject your reality and subsitute my own!"

    Adam Savage, Mythbusters
    www.parallax.com
    www.goldmine-elec.com
    www.expresspcb.com
    www.startrek.com
    ·
Sign In or Register to comment.