That is really funny - for a 12 years old.
That is really funny - for a 12 years old.
Be well - whoever you are.
Actually, cinco de mayo is really big in California.cinco de mayo ? In California??
Celebrated more than it is in Mexico.
However, the gringo in me didn't realize that when it falls on a Monday, everybody parties for the whole weekend.
Wasn't much happening last night.
Whew! no hangovers.
<br>
DT
This is what is really funny...
http://www.picbasic.co.uk/forum/member.php?u=3369
Hope the admins will stop the nonsense and also remove the offensive phrases. Especially what people do at their private moments, it's not my bussines, nor I care to know. How girls on this forum accept it????
Anyway, on the thread now, I would never put a gear that would multiply the rotational speed on a servo motor. The "play" might be so much that an effect as the one you describe here could happen, and obviously it does. Also as I stated to your P.M. do not use maths in the FOR command. Put directly the number you want, not the 1000/20.
More, the 50 pulses of the FOR-NEXT loop might be little. Try to raise the number to 500.
Ioannis
Last edited by Ioannis; - 7th May 2008 at 13:16.
Interesting. What I found is that starting from 0° and rotating to 360° by using trial-and-error values without stopping in the middle makes the motor stop at very much the same position, ie causing a very close to 360° turn being much more exact than the "return-to-the-middle"-routine. In Short 0° <-> 360° works. 0° -> 180° doesn't. 360° -> 180° doesn't(notice the pointer's(->) direction).
What I found additionally: It is normally not the position that is to be driven to. It is the return. So (RotMin+RotMax)/2 changes its effective position. In other words, even though (RotMin+RotMax)/2 must be constant, the motor does not stop at the same place when being directed to.
Last edited by selbstdual; - 7th May 2008 at 13:49.
Be well - whoever you are.
your program does exactly what has been written ... no more, no less.
What I found additionally: It is normally not the position that is to be driven to. It is the return. So (RotMin+RotMax)/2 changes its effective position.
That's also the first time I hear a CONSTANT ( or the mean value of 2 constants ...) can be modified in PBP WHILE running the program ...
"same player shoots again" ...4.6. Constants
Named constants may be created in a similar manner to variables. It can
be more convenient to use a constant name instead of a constant
number. If the number needs to be changed, it may be changed in only
one place in the program; where the constant is defined.
Alain
Last edited by Acetronics2; - 7th May 2008 at 13:37.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks