Updating
This commit is contained in:
1 parent
b6787097fd
commit
bcedcdac2f
3 files changed
+43
-14
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# Steps of Developing the Motor Library
|
||||
---
|
||||
|
||||
## Version 01:
|
||||
|
||||

|
||||
|
||||
Created two separate functions for testing:
|
||||
- One function to turn the fan motor on or off
|
||||
- Another function to set the motor speed
|
||||
|
||||
---
|
||||
|
||||
## Version 02:
|
||||
|
||||

|
||||
|
||||
Combined both actions into a single function and tested the new approach.
|
||||
|
||||
---
|
||||
|
||||
## Version 03:
|
||||
|
||||

|
||||
|
||||
Updated the speed control to use a percentage value.
|
||||
The function now converts the percentage to a value between 0 and 1023 using PWM for smoother speed control.
|
||||
|
||||
---
|
||||
|
||||
## Usage Example:
|
||||

|
||||
A way to test the Library!
|
||||
Reference in new issue
Block a user