View Full Version : Example code
07-16-2009, 04:20 PM
I need to send serial protocol to a serial servo. As serout command in BS2.
Can somebody show me an example code.
07-16-2009, 08:42 PM
This is the Propeller forum. You're asking for information about a Basic Stamp and the question should be posted in the Stamp forum.
You need to supply more information. There are several different servos on the market that use a serial protocol. You would need to post a datasheet / manual or at least a link to a datasheet / manual that describes the protocol.
If you are trying to send serial data out of a prop you will need to use a serial object. The most common one is Full Duplex Serial but there are many versions of it that are available in the Object Exchange. obex.parallax.com
Look at the documentation of each object and that should get you on a big start...