Servo speed, from potentiometer


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Posts
    53


    Did you find this post helpful? Yes | No

    Default Re: Servo speed, from potentiometer

    Add a small delay between the reading of the pot and the execution of the servo routine.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Servo speed, from potentiometer

    Hello again,
    So I am thinking . . . you get your adc result and store it into a variable . . . . call it smartie, just because I never liked using dummy.
    So then give your pulseout variable a different name . . . say we call it value.
    then use a for next loop
    For value = 0 to smartie
    pulseout pin value
    pause 10
    next value
    Just my thoughts . . .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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