Thank you. I don't understand why this next step in using arduino seems to be overlooked in so many tutorials but your explanation is clear and concise and moves me comfortably along my programming journey.
Thanks a lot bro. Among all of the videos for combining codes yours is the only one that help me. All the other one are just not explicit and I can't see clear what they're are doing or saying things that I don't need. Thanks again. Let me know how I can contact you with a faster way for help. Cause I'm working on a diy project.
Hi, I have 3 different sketches I need run at the same time. 1 sketch uses multiple servos, second is multiple leds, third is the play of a recorded track. Do I use 3 sketches for 1 arduino or do I use 3 arduinos and sketch individually. If the latter, i don't know how to connect 3 arduinos and make that happen. I'm trying to make a animintronic project and need all 3 sketches to start with a push of a button. Please help with short answers. Thank you.
It is now 2022 as of tomorrow so this has probably been pointed out already but just in case i will point it out again. At about 3:55 the () are to specify the passed variables, the void that you discussed is the type of variable for the return variable from the function. Not at all how you described them. So just because a function is specified as void functionName() does not mean that you can not pass variables. The void means that there is no return variable from the function, while the () with no data type and variables specified means that no variables are passes to the function.
harash bardhan i m giving a example... imagine i wanna make Arduino bt car...in my sketch there r only 2 channels outputs...1st for motor 1 nd 2nd for motor 2...so can i combine the sketch for twice nd get 4 channels outputs???
Thank you so very much in posting this video, It has been a great help to me in leaning how to combine sketches. I do have a question, should one always add the imported sketch below the existing sketch?
Great video and explanation but please help us how to add two pwm program add to one sketch. One sketch used times0 and timer2 another pwm used timer1 so how to make setup and loop functions please
just type them one after another, there is no problem combining libraries. Type in the beginning of the code: #include #include #include its just an example
Sir is this channel still active i have some question regarding combining sketches im a student at philippines actually this is my first time using an arduino for my thesis
if there is no name on it but a serial number and you already know its Arduino search by the serial number. BUT if its Arduino it must have a name, all arduinos i have seen had a name...
The example he gave will work fine if you make the first delay delay(20000); // 20 Second delay As you most likely will not be holding down the button for 20 seconds it will work fine as is. But if you need to make sure the button (or switch of some type)is not still pressed (HIGH) you need to add a check to see if the button state is still HIGH by reading the switch again in a loop until it is no longer HIGH and will ONLY light the LED after a new press of the button. Use this command after your delay(20000); while(digitalRead(pushButton)){}
Thank you. I don't understand why this next step in using arduino seems to be overlooked in so many tutorials but your explanation is clear and concise and moves me comfortably along my programming journey.
Your clear and easy to follow instructions are much appreciated, thanks!
Thanks a lot bro. Among all of the videos for combining codes yours is the only one that help me. All the other one are just not explicit and I can't see clear what they're are doing or saying things that I don't need. Thanks again. Let me know how I can contact you with a faster way for help. Cause I'm working on a diy project.
Thank you for explaining this so clearly! Keep doing what you do bud :)
Hi, I have 3 different sketches I need run at the same time. 1 sketch uses multiple servos, second is multiple leds, third is the play of a recorded track. Do I use 3 sketches for 1 arduino or do I use 3 arduinos and sketch individually. If the latter, i don't know how to connect 3 arduinos and make that happen. I'm trying to make a animintronic project and need all 3 sketches to start with a push of a button. Please help with short answers. Thank you.
It is now 2022 as of tomorrow so this has probably been pointed out already but just in case i will point it out again. At about 3:55 the () are to specify the passed variables, the void that you discussed is the type of variable for the return variable from the function. Not at all how you described them. So just because a function is specified as void functionName() does not mean that you can not pass variables. The void means that there is no return variable from the function, while the () with no data type and variables specified means that no variables are passes to the function.
can we include two libraries in the same code
?
This was so helpful. You saved my midterm project for school.
this video should be called "how to paste an arduino program in another program"
Lol
Very easy, and simple to understand!
It worked for me 👍
Thank you Sir!
Thank you very much!
Man , your video just solved my biggest problem.
Thank you.
God bless u
harash bardhan bro can we mix two codes nd increase the outputs???plz reply bro
vivan Sharma . sorry mate i didn't get you???
harash bardhan i m giving a example... imagine i wanna make Arduino bt car...in my sketch there r only 2 channels outputs...1st for motor 1 nd 2nd for motor 2...so can i combine the sketch for twice nd get 4 channels outputs???
Thank you so very much in posting this video, It has been a great help to me in leaning how to combine sketches. I do have a question, should one always add the imported sketch below the existing sketch?
Sir can you merge programs for mq-2 sensor, ultrasonic sensor and gsm module?..
Thanks a lot, it was very helpful to me. In the point
How many code can upload
bro...big fan brooo
Great video and explanation but please help us how to add two pwm program add to one sketch. One sketch used times0 and timer2 another pwm used timer1 so how to make setup and loop functions please
Thank you so much, this was so helpful. Much appreciated!
Thank you.
Thanks, with some of your tips I was able to combine to different sensor libraries into one sketch and compile with success.
Clear understandable and as it should be told CHEERS
Good explanation
Thank you 😊
Wow... Thank U men but how can i put two libraries in one sketch? Pls help me 🙏🏻
just type them one after another, there is no problem combining libraries. Type in the beginning of the code:
#include
#include
#include
its just an example
Can you compile dht11, soil moisture and temperature codes?
Sir is this channel still active i have some question regarding combining sketches im a student at philippines actually this is my first time using an arduino for my thesis
hey there, have found answers for your queries.. im having problem too combining two independent programs.
How would one go about getting a circuit diagram for this code?
sir pleace how can i identify an arduino board that has no name on it
if there is no name on it but a serial number and you already know its Arduino search by the serial number. BUT if its Arduino it must have a name, all arduinos i have seen had a name...
Can u tell me what is the 5 most important icons in Arduino(
Great video!!! Thank you
Thank you bro...🙏
Very helpful. Thanks for sharing.
Ctrl + k + c will comment all out and is universal. Ctrl + k + u will incomment. Also try windows v instead of ctrl v to paste. Game changer.
hi.....i have a question ....how can i make two code work on the same time..?
this video just explained it...
hi can u give me a code for led blinking when i press the switch led comes on and blink for 20 second and goes off then wait for next switch press
It is so simple...
The example he gave will work fine if you make the first delay
delay(20000); // 20 Second delay
As you most likely will not be holding down the button for 20 seconds it will work fine as is.
But if you need to make sure the button (or switch of some type)is not still pressed (HIGH) you need to add a check to see if the button state is still HIGH by reading the switch again in a loop until it is no longer HIGH and will ONLY light the LED after a new press of the button.
Use this command after your delay(20000);
while(digitalRead(pushButton)){}
Can I chat with you? I want a consultation regarding the Arduino program
Absolute fire!@!!!!!!!!!!!!!!!!!1!!!
skibidi
Hi sir can i send some codes and you combine and compile the code for me? thank you.
Thanks a lot !
excellent
thanks. its very helpfull
Hi Lick
nice1