Arduino Lesson 2 - digitalRead & digitalWrite

preview_player
Показать описание

The second in a series of tutorials to help you understand the basics of the Arduino uno. In this session we will be going over digitalReads and digitalWrites and how to use them in the "real world".

I hope you enjoy the video!

Рекомендации по теме
Комментарии
Автор

I've studied countless hours about Arduino; My final on Mechatronics is on Thursday with one of the questions being on Arduinos and I spent the whole semester in lab struggling with this because I didn't know the basics, and I finally get it thanks to these tutorials.

joeyGalileoHotto
Автор

Brilliant tutorial. This was my first practical lesson on the Arduino and it gave me a basic understanding to get me up and running. Only got my kit out 30 minutes ago and already I'm uploading Sketches and dimming LED's. Thank You

russellford
Автор

this is a gem for the beginners of the

aashoosharma
Автор

Good stuff. Easy to follow along. I've been wanting to add motion to my metal sculptures for years and your videos has finally helped me break through the knowledge wall :-)

pcollins
Автор

i watch a lot of videos and yours is by far the best explained in detail. I could follow perfectly what you were doing ...thanks

henniekruger
Автор

It saddens me to see that such a fantastic series of videos like this has garnered such a small following.

Ben, thank you for the effort you put in. You deserve way more than this. Perhaps you could weave in some conspiracy about flat earth in the video and you'd get millions of views.

stevefranklin
Автор

Please make more Arduino videos. You are an excellent teacher. I have learned a lot.

maryvillegas
Автор

here is the code:

int led = 12;
int button = 13;

void setup() {
pinMode(led, OUTPUT);
pinMode(button, INPUT);
}

void loop() {
digitalWrite(led, LOW);
delay(1000); //how long its off
digitalWrite(led, HIGH);
delay(1000); //how long its on
}

susbaka
Автор

Brilliant tutorials and thank you for the playlist. I have a doubt in digitalRead. In the circuit (7:24), why we need a resistor for the switch? Is only Pin 2 and 5V enough?

nihalmohammed
Автор

Your tutorials are awesome! Thanks for that!

sptmbrth
Автор

Excellent videos, thanks for the help!

raymaas
Автор

with constants like the "led" you used, it's better to use const instead of int. Anyway good tutorial!

shogunz
Автор

i love your videos i understand it perfectly

equinox
Автор

8:08 int button=1
Forgive me if I'm wrong but shouldn't it be int button=2 according to schematic? 7:43

drem
Автор

all of this was easy and simple to follow except for the last part when you are talking about certain pins being pulled high. for some reason i dont understand what you mean by this.

nicholastamas
Автор

How can I read the status of an OUTPUT pin?

aiymankhan
Автор

how to include 2 digital pins as OUTPUT?

obsidiantechz
Автор

Nice tutorial man. Question

Can we use DigitalWrite as input?

_AREL
Автор

where can I buy Orange Pip seems intersting

harambematata
Автор

how do i go about using digitalwrite to program in a button? i want to use the arduino to control a connection elsewhere to complete a circuit in a device, remotely. i dont want voltage to be present, but to only close the loop between the two wires set to the appropriate pins?

natemay