Skip to content

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

@Witty-Wizard

Description

@Witty-Wizard

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions