This commit is contained in:
Fatima Idrees 2025-08-02 11:34:14 +03:00
parent 360ee7e80b
commit 32b601b79a
16 changed files with 136 additions and 4 deletions

View File

@ -10,11 +10,11 @@ description ''
spec 'r' '_PWM Pin' '_PWM Pin _' 'menu.PWM_pins' 1
spec 'r' '_Direction' '_Direction _' 'menu.direction' 'clockwise'
spec ' ' 'Fan Motor3' 'Fan Motor Pin _ Speed _ (0-100)' 'menu.PWM_pins2 num' 3 50
spec ' ' 'Fan Motor4' 'Fan Motor Pin _ Speed _ (0-1023)' 'menu.PWM_pins2 num' 3 50
spec ' ' 'Fan Motor3' 'Fan Motor Pin _ Speed _ (1-100)' 'menu.PWM_pins2 num' 3 50
spec ' ' 'Fan Motor4' 'Fan Motor Pin _ Speed _ (1-1023)' 'menu.PWM_pins2 num' 3 50
space
spec ' ' 'Fan Motor' 'Fan Motor Pin _ Direction _ Speed _ (0-100)' 'menu.PWM_pins menu.direction num' 1 'clockwise' 50
spec ' ' 'Fan Motor2' 'Fan Motor Pin _ Direction _ Speed _ (0-1023)' 'menu.PWM_pins menu.direction num' 1 'clockwise' 50
spec ' ' 'Fan Motor' 'Fan Motor Pin _ Direction _ Speed _ (1-100)' 'menu.PWM_pins menu.direction num' 1 'clockwise' 50
spec ' ' 'Fan Motor2' 'Fan Motor Pin _ Direction _ Speed _ (1-1023)' 'menu.PWM_pins menu.direction num' 1 'clockwise' 50
to Direction Direction {

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
Images/38.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
Images/39.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
Images/40.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
Images/41.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

BIN
Images/45.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
Images/46.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
Images/47.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
Images/48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
Images/49.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,66 @@
# 🟧 Multi-Digital Pins
### What are Multi-Digital Pins?
Some modules use **more than one digital pin** to work correctly. These pins may be used to send or receive multiple signals at the same time—like controlling several LEDs, reading from multiple buttons, or sending commands to more complex components.
---
### Included Modules:
#### 🔌 Inputs:
- [Ultrasonic](#module-01-7-segment-display)
#### 💡 Outputs:
- [RGB LED](#module-01-7-segment-display)
- [Traffic Light](#module-01-7-segment-display)
---
### Module 01: Ultrasonic
![](../Images/42.png)
#### Block:
![](../Images/45.png)
This sensor reads input from the physical world.
---
### Module 2: RGB LED
![](../Images/43.png)
#### Block 1:
![](../Images/46.png)
This block allows to control red, green and blue color as on and off.
#### Block 2:
![](../Images/48.png)
This block allows to control red, green and blue color in a range 0-255.
---
### Module 03: Traffic Light
![](../Images/44.png)
#### Block 1:
![](../Images/47.png)
This block allows to control red, yellow and green color as on and off.
#### Block 2:
![](../Images/49.png)
This block allows to control red, yellow and green color in a range 0-255.
---

66
PWM/README.md Normal file
View File

@ -0,0 +1,66 @@
# 🟧 Multi-Digital Pins
### What are Multi-Digital Pins?
Some modules use **more than one digital pin** to work properly. These pins allow the module to send or receive multiple signals at the same time—for example, controlling multiple LEDs, handling different colors, or measuring distance with precise timing.
---
### Included Modules:
#### 🔌 Inputs:
- [Ultrasonic Sensor](#module-01-ultrasonic-sensor)
#### 💡 Outputs:
- [RGB LED](#module-02-rgb-led)
- [Traffic Light](#module-03-traffic-light)
---
### Module 01: Ultrasonic Sensor
![](../Images/42.png)
#### Block:
![](../Images/45.png)
This sensor reads **distance** from the physical world using ultrasonic sound waves. It uses **two pins**: one to trigger the signal and one to receive the echo.
---
### Module 02: RGB LED
![](../Images/43.png)
#### Block 1:
![](../Images/46.png)
This block controls the **red**, **green**, and **blue** channels using **ON/OFF** values.
#### Block 2:
![](../Images/48.png)
This block controls the brightness of **red**, **green**, and **blue** individually, using values from **0 to 255** to mix custom colors.
---
### Module 03: Traffic Light
![](../Images/44.png)
#### Block 1:
![](../Images/47.png)
This block turns the **red**, **yellow**, and **green** lights **ON or OFF**.
#### Block 2:
![](../Images/49.png)
This block allows you to adjust the **brightness** of the red, yellow, and green lights using values from **0 to 255**.
---