Это видео недоступно.
Сожалеем об этом.
Arduino Tutorials: Basic programming , blinking LED and using switch![code is in the description!]
HTML-код
- Опубликовано: 26 янв 2017
- In this video, we will learn basic Arduino programming, and we will write a program to make a blinking LED and controlling an LED using a switch!
This is one of many videos yet to come, so subscribe and leave your feedback!
Link for code: [WILL REUPLOAD LATER]
Cheers!
I've searched many vid. and like this but only your tutorial worked
Thank you very MUCH IT WORKS!!!!
Super 👍 Thanks
I am looking to incorporate in my project using arduino with 5 buttons to pulse the associated relay
That means that each switch will create a short single output pulse no matter how long the button is pressed
Your help will be greatly appreciated
Many thanks
Erik Hoffman
London, UK
Yes, you can do with the use of Delay() function .. between on and off timings of your output.
Where is the code?
Wheres the code you were going to upload later??
You have written in code that when switch output is high then led output will be high but in video when you press button led turns off means it is getting output low🤔
he did it wrong when wiring .. switch was pulled to ground
Thank you, Bhai ya bta de k led light or black color ky wire, white color k bord me jha mrzy dal sktay ha
bro,
you have enabled access to ur personal data too !!
the codes were not readable
Great video sir can you do you a video on 5 push buttons?
Of course you can do it ... Just follow same steps on each pushbutton
@Shyam Sundar
we can operate this in VSCode using Platform I/O?
Yes
it did not work why???
something is wrong with code didn't work
Very simple
Ya Jo ap wires lga rhay ha is ky blkl smjh nhy lg rhy koncy wire ks number k sath lgany he.
College lock down ky wja se bnd he kuch chezo ky smjh nhy lg rhy
you have to put a resistor in there or it will burn out over time
Can you tell me how I can write the code so when I press the push button the led turns ON and stays ON and when I press it again it turns OFF and stays OFF untill I press it again to turn ON.
Thank you !!!
if(digitalRead(BUTTON) == HIGH)
{
digitalWrite(LED,HIGH);
}
if(digitalRead(BUTTON) == HIGH && digitalRead(LED) == HIGH)
{
digitalWrite(LED, LOW);
}
try this one
you might blow up something be careful
forum.arduino.cc/index.php?topic=200933.0
this is what you need
You will find a lot of info on that matter
sorry for the late response
Int state = 0 ; //initialize as global variable or in setup
If(digitalRead(buttonpin))
{
State! = state;
}
digitalWrite(ledpin, state) ;
Plz give me link arduinobord plz
Code please
Bro i will subsceibe you if you will make more videos
can you give me the code dude?
Very simple and basic blaahhhhhhhhhh
give me the cod e
Code!
thats not blinking!
Plz sir plz
God, where is pull down resistor? Stop teaching people this madness.
Arduino has very low output current that's why I didn't add it.
@@shyamsundarsaravanan7398 some time you'll get error signal
What about blinking using Millis? People who use delays in the program are stupid