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

Add A4988 stepper motor driver #932

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Anshuflame04
Copy link

Title

Add A4988 Stepper Motor Driver

Overview

This pull request adds a driver for the A4988 stepper motor, enabling precise motor control using MicroPython.

Changes Made

  • a4988.py: Functions for motor control (forward, backward, speed adjustment).
  • main.py: Example usage to demonstrate motor control with user switches.

Testing Instructions

  1. Connect the A4988 driver to your microcontroller.
  2. Run main.py to control the stepper motor.
  3. Use switches to adjust direction and speed.

@Anshuflame04
Copy link
Author

git commit --amend -s -m "drivers/a4988: Add A4988 stepper motor driver."

@Anshuflame04
Copy link
Author

git commit --amend -s -m "drivers/a4988: Add A4988 stepper motor driver for esp32.

@Anshuflame04
Copy link
Author

git commit --amend -s -m "drivers/a4988: Added A4988 stepper motor driver for esp32."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant