Spark_Library/PWM/README.md
2025-08-02 11:43:09 +03:00

45 lines
887 B
Markdown

# 🟨 PWM
### What is PWM?
PWM (Pulse Width Modulation) is a technique used to **control power** to devices by turning the signal on and off very quickly.
By adjusting how long the signal stays on during each cycle, we can control things like **brightness**, **speed**, or **intensity**.
---
### Included Modules:
- [Fan Motor](#module-01-fan-motor)
---
### Module 01: Fan Motor
![](../Images/37.png)
#### Block 1:
![](../Images/38.png)
This block controls the fan speed in a range from **1 to 100**.
#### Block 2:
![](../Images/39.png)
This block controls the fan speed in a range from **1 to 1023**.
#### Block 3:
![](../Images/40.png)
This block controls the fan speed in a range from **1 to 100**, with **direction control**.
#### Block 4:
![](../Images/41.png)
This block controls the fan speed in a range from **1 to 1023**, with **direction control**.
---