Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stepper_delay_usec for gpiostepper #3779

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/components/motor/gpiostepper.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Edit and fill in the attributes as applicable.
"dir": "<pin-number>"
},
"ticks_per_rotation": <int>,
"stepper_delay": <int>
"stepper_delay_usec": <int>
},
"depends_on": []
}
Expand Down Expand Up @@ -116,7 +116,7 @@ The following attributes are available for `gpiostepper` motors:
| `board` | string | **Required** | `name` of the [board](/components/board/) the motor driver is wired to. |
| `pins` | object | **Required** | A struct containing the [board](/components/board/) {{< glossary_tooltip term_id="pin-number" text="pin numbers" >}} that the `step` and `dir` pins of the motor driver are wired to. |
| `ticks_per_rotation` | int | **Required** | Number of full steps in a rotation. 200 (equivalent to 1.8 degrees per step) is very common. If your data sheet specifies this in terms of degrees per step, divide 360 by that number to get ticks per rotation. |
| `stepper_delay` | int | Optional | Time in microseconds to remain high for each step. |
| `stepper_delay_usec` | int | Optional | Time in microseconds to remain high for each step. Required when using the SetPower API. |

Refer to your motor and motor driver data sheets for specifics.

Expand Down
Loading