This commit is contained in:
Fatima Idrees 2025-05-27 14:24:20 +03:00
parent 68af2a61d6
commit 06c531e180

View File

@ -1,38 +1,42 @@
# Steps of Developing the Motor Library # Motor Library Development Steps
---
## Version 01:
![](../Images/1.png)
Created a functions for testing that takes 6 values, each pin and its state to get the color in the led.
--- ---
## Version 02: ## Version 01
![](../Images/2.png) ![](../Images/3.png) ![](../Images/1.png)
I tried to create a new command for setting pins, but didnt work. Developed initial test functions that accept six values—each corresponding to a pin and its state—to control the LED color.
--- ---
## Version 03: ## Version 02
![](../Images/2.png)
![](../Images/3.png)
Attempted to create a new command for setting pins, but this approach was unsuccessful.
---
## Version 03
![](../Images/4.png) ![](../Images/4.png)
Then I made these so the user enters the first pin only, and the program calculate other pins. Updated the design so the user only needs to enter the first pin; the program automatically calculates the remaining pins.
--- ---
## New Version Upcoming:
## Upcoming Version
![](../Images/5.png) ![](../Images/5.png)
That the user enter a value in %. will allow users to input values as percentages.
--- ---
## Usage Example: ## Usage Example
![](../Images/6.png)
A way to test the Library! ![](../Images/6.png)
A way to test the library!