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

✨[FEATURE]: Implement Motor Control Logic for H-Bridge #3

Closed
Witty-Wizard opened this issue Oct 5, 2024 · 0 comments · Fixed by #4
Closed

✨[FEATURE]: Implement Motor Control Logic for H-Bridge #3

Witty-Wizard opened this issue Oct 5, 2024 · 0 comments · Fixed by #4
Assignees
Labels
enhancement New feature or request

Comments

@Witty-Wizard
Copy link
Owner

Task Overview:

We need to implement a motor control logic for the HBridge that accepts signed 8-bit values (int16_t) to control motor speed and direction. The goal is to handle values ranging from -255 to 255 where:

  • Positive values represent forward movement.
  • Negative values represent reverse movement.

Key Tasks:

  • The write() method should handle input values from -255 to 255
  • Testing and Validation:
    • Test the implementation with different values ranging from -255 to 255 to ensure proper forward and reverse control.
    • Validate that the motor behaves as expected when the value crosses from positive to negative and vice versa.
@Witty-Wizard Witty-Wizard added the enhancement New feature or request label Oct 5, 2024
@Witty-Wizard Witty-Wizard self-assigned this Oct 5, 2024
@Witty-Wizard Witty-Wizard linked a pull request Oct 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant