In this video you will learn how to set or control digital while using digital Write command as well as control LED in different patterns through for loop and output command.
pinMode command determines whether a specified pin behaves as input or output - does it read a signal to the Arduino (read from a a sensor, for example) or does it output to another component (a led to light it, a motor to move it). It achieves this by changing the impedance on the pin- high impedance for input, low for output.
digitalWrite(): This function set pin states either HIGH or LOW. Here, 5V (or 3.3V on 3.3V boards) for HIGH, 0V (ground) for LOW.
For Loop: The for statement is used to repeat a block of statements enclosed in curly braces. An increment counter is usually used to increment and terminate the loop. The for statement is useful for any repetitive operation, and is often used in combination with arrays to operate on collections of data/pins.
#Digital_Output
#DigitalWrite_Command
#Control_Arduino_Output
Link for Arduino board introduction:
• Arduino Uno Hardware I...
link for download Arduino IDE software:
• How to Download and In...
Негізгі бет Digital Out Control with Arduino | different LED's Patterns set by for Loop Urdu||Hindi
No video
Пікірлер: 5