how_to_use_a_stepper_motor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
how_to_use_a_stepper_motor [2017/01/31 20:48] – walkeradmin | how_to_use_a_stepper_motor [2017/02/04 21:52] – [Python Code] walkeradmin | ||
---|---|---|---|
Line 4: | Line 4: | ||
\\ | \\ | ||
{{: | {{: | ||
- | \\ | ||
- | \\ | ||
- | <color red>This is work in progress, when this warning disappears, my work here is done : | ||
\\ | \\ | ||
\\ | \\ | ||
Line 27: | Line 24: | ||
==== The Stepper Motor ==== | ==== The Stepper Motor ==== | ||
\\ | \\ | ||
- | A stepper motor contains several coils (depending on the type) that can be ' | + | A stepper motor contains several coils (depending on the type) that can be ' |
\\ | \\ | ||
\\ | \\ | ||
Line 39: | Line 36: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 54: | Line 51: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 68: | Line 65: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 157: | Line 154: | ||
Firstly, here is the code, the breakdown of the code is further down this page. | Firstly, here is the code, the breakdown of the code is further down this page. | ||
\\ | \\ | ||
- | <file> | + | <sxh [py][; options for SyntaxHighlighter]> |
# | # | ||
+ | # Written in Python 2.7 | ||
+ | |||
+ | |||
# Import required libraries | # Import required libraries | ||
import sys | import sys | ||
Line 226: | Line 226: | ||
# Wait before moving on | # Wait before moving on | ||
time.sleep(WaitTime) | time.sleep(WaitTime) | ||
- | </file> | + | </shx> |
\\ | \\ | ||
\\ | \\ |
how_to_use_a_stepper_motor.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1