Skip to content

Conversation

@laxusgooee
Copy link
Contributor

v1.0.0 - Initial Release

LXG_DC_Motor_driver is a simple and efficient Arduino library designed to control DC motors using an H-bridge or similar driver.

🚀 Features

  • Direction Control: Easily move motors forward and backward.
  • Speed Control: precise speed regulation using PWM (0-255).
  • Smooth Transitions: Built-in methods for acceleration and deceleration.
  • State Monitoring: Query current speed, direction, and running status.
  • Lightweight: Minimal resource usage, suitable for all Arduino boards.

📦 Installation

  1. Download the LXG_DC_Motor_driver.zip file from the assets below.
  2. Open Arduino IDE.
  3. Go to Sketch > Include Library > Add .ZIP Library....
  4. Select the downloaded zip file.

🛠 Usage

#include <LXG_DC_Motor_driver.h>

LXG_Motor myMotor;

void setup() {
  myMotor.attach(9, 8, 7); // Enable, Forward, Backward
  myMotor.start();
}

📝 Changelog

  • Initial release of the library.
  • Added LXG_Motor class with full control API.
  • Added BasicUsage example.

@github-actions github-actions bot added the topic: submission Add library to the list label Nov 24, 2025
@github-actions
Copy link
Contributor

Arduino Lint has suggestions for possible improvements to https://github.com/laxusgooee/LXG_DC_Motor_driver:

Linting library in LXG_DC_Motor_driver
WARNING: No license file found.                                                                                                                 
         See:                                                                                                                                   
         https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository
         (Rule LD002)                                                                                                                           

Linter results for project: 0 ERRORS, 1 WARNINGS

-------------------

Linting sketch in LXG_DC_Motor_driver/examples/BasicUsage

Linter results for project: no errors or warnings

-------------------

Linter results for projects: 0 ERRORS, 1 WARNINGS

@github-actions github-actions bot merged commit 258ca52 into arduino:main Nov 24, 2025
11 checks passed
@github-actions
Copy link
Contributor

Your submission has now been accepted! Thanks for your contribution to the Arduino Library Manager index.

The library(s) will be available for installation via Library Manager within a day's time.

You can check the logs from the Library Manager indexer for your library(s) here:
http://downloads.arduino.cc/libraries/logs/github.com/laxusgooee/LXG_DC_Motor_driver/

github-actions bot pushed a commit that referenced this pull request Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: submission Add library to the list

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant