Updating the Digital Folder

This commit is contained in:
Fatima Idrees 2025-06-03 13:07:32 +03:00
parent 639ffb7e84
commit 96f823571b
15 changed files with 83 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,16 @@
# Button Versions
Displaying the version and its functions with examples.
## Version 01
In these functions, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example 1*
This function reads values from the pin and can be used inside an if-statement or assigned as a value.
![](Images/2.png)
*Example 2*
This function reads the inverted values from the pin and can be used inside an if-statement or assigned as a value.

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,16 @@
# Buzzer Versions
Displaying the version and its functions with examples.
## Version 01
In these functions, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example 1*
This function accepts two values from you: one to turn the Buzzer on, and one to turn the Buzzer off.
![](Images/2.png)
*Example 2*
This function takes a number between 0 and 1023 to control the tone of the Buzzer.

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -0,0 +1,16 @@
# Horn Versions
Displaying the version and its functions with examples.
## Version 01
In these functions, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example 1*
This function accepts two values from you: one to turn the Horn on, and one to turn the Horn off.
![](Images/2.png)
*Example 2*
This function takes a number between 0 and 1023 to control the tone of the Horn.

View File

@ -6,9 +6,11 @@ Displaying the version and its functions with examples.
In these functions, you must specify the digital pin corresponding to the module you are using. In these functions, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png) ![](Images/1.png)
*Example 1* *Example 1*
This function accepts two values from you: one to turn the LED on, and one to turn the LED off. This function accepts two values from you: one to turn the LED on, and one to turn the LED off.
![](Images/2.png) ![](Images/2.png)
*Example 2* *Example 2*
This function takes a number between 0 and 1023 to control the brightness of the LED. This function takes a number between 0 and 1023 to control the brightness of the LED.

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -0,0 +1,11 @@
# Photo Interrupter Versions
Displaying the version and its functions with examples.
## Version 01
In this function, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example*
This function reads values from the pin and can be used inside an if-statement or assigned as a value.

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,11 @@
# Tilt Switch Versions
Displaying the version and its functions with examples.
## Version 01
In this function, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example*
This function reads values from the pin and can be used inside an if-statement or assigned as a value.

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,11 @@
# Touch Versions
Displaying the version and its functions with examples.
## Version 01
In this function, you must specify the digital pin corresponding to the module you are using.
![](Images/1.png)
*Example*
This function reads values from the pin and can be used inside an if-statement or assigned as a value.