Subject:
|
Re: Stepper Motor problems
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 15 Jul 1999 13:21:29 GMT
|
Original-From:
|
Bradley Engel <bengel@optra#spamcake#.com>
|
Viewed:
|
1081 times
|
| |
| |
I just got the stepper rountine working in my board this weekend.
There were some problems initially. I had to replace the cycle_length with
the actual number (4).
There were also some errors with variable type conversions, for example FAST
and SLOW are long, so you need to assign variables as FAST =8L.
In addition, msleep() needs a long but delay is an int, so you need to call
it with a conversion, msleep((long)delay).
If you like, I can e-mail you the actual code I used.
Bradley Engel
bengel@optra.com
OPTRA, Inc.
461 Boston St.
Topsfield, MA 01983
(978) 887-6600 ext. 117
fax (978) 887-0022
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|