13th
This commit is contained in:
parent
32b601b79a
commit
d97173fc78
@ -99,7 +99,7 @@ This block reads the **humidity** (moisture in the air).
|
|||||||
|
|
||||||
This block turns the LED ON or OFF using a **true/false** value.
|
This block turns the LED ON or OFF using a **true/false** value.
|
||||||
|
|
||||||
#### Block 2:
|
#### Block 2: (PWM)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -117,7 +117,7 @@ This block adjusts the LED brightness by entering a value between **0 and 1023**
|
|||||||
|
|
||||||
This block turns the buzzer ON or OFF using a **true/false** value.
|
This block turns the buzzer ON or OFF using a **true/false** value.
|
||||||
|
|
||||||
#### Block 2:
|
#### Block 2: (PWM)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ This sensor reads input from the physical world.
|
|||||||
|
|
||||||
This block allows to control red, green and blue color as on and off.
|
This block allows to control red, green and blue color as on and off.
|
||||||
|
|
||||||
#### Block 2:
|
#### Block 2: (PWM)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -57,7 +57,7 @@ This block allows to control red, green and blue color in a range 0-255.
|
|||||||
|
|
||||||
This block allows to control red, yellow and green color as on and off.
|
This block allows to control red, yellow and green color as on and off.
|
||||||
|
|
||||||
#### Block 2:
|
#### Block 2: (PWM)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@ -1,66 +1,44 @@
|
|||||||
# 🟧 Multi-Digital Pins
|
# 🟨 PWM
|
||||||
|
|
||||||
### What are Multi-Digital Pins?
|
### What is PWM?
|
||||||
|
|
||||||
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.
|
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:
|
### Included Modules:
|
||||||
|
|
||||||
#### 🔌 Inputs:
|
- [Fan Motor](#module-01-fan-motor)
|
||||||
- [Ultrasonic Sensor](#module-01-ultrasonic-sensor)
|
|
||||||
|
|
||||||
#### 💡 Outputs:
|
|
||||||
- [RGB LED](#module-02-rgb-led)
|
|
||||||
- [Traffic Light](#module-03-traffic-light)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Module 01: Ultrasonic Sensor
|
### Module 01: Fan Motor
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Block:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Block 1:
|
#### Block 1:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This block controls the **red**, **green**, and **blue** channels using **ON/OFF** values.
|
This block controls the fan speed in a range from **1 to 100**.
|
||||||
|
|
||||||
#### Block 2:
|
#### Block 2:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This block controls the brightness of **red**, **green**, and **blue** individually, using values from **0 to 255** to mix custom colors.
|
This block controls the fan speed in a range from **1 to 1023**.
|
||||||
|
|
||||||
---
|
#### Block 3:
|
||||||
|
|
||||||
### Module 03: Traffic Light
|

|
||||||
|
|
||||||

|
This block controls the fan speed in a range from **1 to 100**, with **direction control**.
|
||||||
|
|
||||||
#### Block 1:
|
#### Block 4:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This block turns the **red**, **yellow**, and **green** lights **ON or OFF**.
|
This block controls the fan speed in a range from **1 to 1023**, with **direction control**.
|
||||||
|
|
||||||
#### Block 2:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
This block allows you to adjust the **brightness** of the red, yellow, and green lights using values from **0 to 255**.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user