Servo Object?
kerryw
Posts: 61
Is there a simple Servo controller object available? I looked at the library one and it looks like it needs external chips to support that many. I'm just looking for an object that can control 4 servos simultaneously. Any suggestions? Thanks.
Kerry
Kerry
Comments
Check out the object in the Propeller Object Library (Servo_Demo.zip).
http://www.parallax.com/propeller/object.asp
This object will allow you to control up to 32 servo's without any additional hardware.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
BTW, shouldn't this
long ServoDataA[noparse][[/noparse]47] ' 0-47 Servo Pulse Width information
long ServoDataB[noparse][[/noparse]47] '48-95 Servo Pulse Width information
be this?
long ServoDataA[noparse][[/noparse]48] ' 0-47 Servo Pulse Width information
long ServoDataB[noparse][[/noparse]48] '48-95 Servo Pulse Width information
Thanks again Beau
Kerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
That's the wrong code!!· In the object directory it should only be a 32 servo driver.
What's in there right now is a 96 servo driver.· Let me try to figure out what happened
and post the correct code for the 32 servo driver.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Thanks,
Kerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
Kerry
Here is an updated 32 servo object. Feel free to use CJ's or this one.
I will try to get this correctly updated in the Propeller Object Library.
The whole point of exchanging or using object's and making them open
source is so that anyone can tweak, modify, or simply just use them
as they see fit to do so.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Kerry