Shop OBEX P1 Docs P2 Docs Learn Events
Parallax''s robotics Chapter 1 Challenge ? — Parallax Forums

Parallax''s robotics Chapter 1 Challenge ?

ArchiverArchiver Posts: 46,084
edited 2002-07-15 08:37 in General Discussion
Exercise ? 5 Challenge: Since the low time in the pulse train is not overly
important, the pause period was not adjusted when a second pulsout command was
added. However, Each pulsout command causes an additional delay on top of the
20 ms pause. How would you adjust the pause period in Program Listing 1.5 to
ensure that the pulse to a given servo begins every 20 ms?

My idea would be to subtract 1 from the 20 ms pause statement. Is this correct!
The only information I found talking about an added time is 10 microseconds on
page 244 in the manual.

My other idea is to place a pause statement under each pulsout command and
create a loop within a loop for each pulsout command. I appreciate your
understanding and patience in reading this long email. Thanks for your help in
advance.

Lester J. Snoderly
7740 Our Own Lane
Anchorage, AK 99516-3821

Ph: (907) 929-0727
Fax: (907) 929-0917
(Stamp'n
Along)


[noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.