Arduino Combining Sketches

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ •

  • @BromideBride
    @BromideBride 3 місяці тому

    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.

  • @daveb7999
    @daveb7999 2 роки тому +1

    Your clear and easy to follow instructions are much appreciated, thanks!

  • @lucsonnelson8037
    @lucsonnelson8037 2 роки тому +2

    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.

  • @rafifsantosa8490
    @rafifsantosa8490 4 роки тому +4

    Thank you for explaining this so clearly! Keep doing what you do bud :)

  • @galagatron5319
    @galagatron5319 Рік тому

    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.

  • @deltaone7835
    @deltaone7835 2 роки тому

    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.

  • @SanskarTOP_G
    @SanskarTOP_G Рік тому

    can we include two libraries in the same code
    ?

  • @slyfer5321
    @slyfer5321 4 роки тому +2

    This was so helpful. You saved my midterm project for school.

  • @unhommequicourt
    @unhommequicourt 4 роки тому +18

    this video should be called "how to paste an arduino program in another program"

  • @YGX8
    @YGX8 3 роки тому +1

    Very easy, and simple to understand!

  • @mogomega8825
    @mogomega8825 3 роки тому +1

    It worked for me 👍
    Thank you Sir!

  • @AmerM7
    @AmerM7 2 роки тому

    Thank you very much!

  • @e9igma924
    @e9igma924 6 років тому +2

    Man , your video just solved my biggest problem.
    Thank you.
    God bless u

    • @patelmarvel7300
      @patelmarvel7300 6 років тому

      harash bardhan bro can we mix two codes nd increase the outputs???plz reply bro

    • @e9igma924
      @e9igma924 6 років тому

      vivan Sharma . sorry mate i didn't get you???

    • @patelmarvel7300
      @patelmarvel7300 6 років тому

      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???

  • @salc9593
    @salc9593 2 роки тому

    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?

  • @dadabraders2667
    @dadabraders2667 5 років тому +3

    Sir can you merge programs for mq-2 sensor, ultrasonic sensor and gsm module?..

  • @Hercules75
    @Hercules75 4 роки тому +1

    Thanks a lot, it was very helpful to me. In the point

  • @Thecrazytv3
    @Thecrazytv3 Рік тому

    How many code can upload

  • @chinthayaswanth1471
    @chinthayaswanth1471 3 роки тому

    bro...big fan brooo

  • @vengug7303
    @vengug7303 4 роки тому

    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

  • @ziadaldohaim3142
    @ziadaldohaim3142 4 роки тому +1

    Thank you so much, this was so helpful. Much appreciated!

  • @dea6492
    @dea6492 3 роки тому

    Thank you.

  • @JamesSmith-gg8hy
    @JamesSmith-gg8hy 5 років тому

    Thanks, with some of your tips I was able to combine to different sensor libraries into one sketch and compile with success.

  • @SGOI_AUS
    @SGOI_AUS 4 роки тому

    Clear understandable and as it should be told CHEERS

  • @justinwesley7041
    @justinwesley7041 5 років тому +1

    Good explanation

  • @vnagaravi
    @vnagaravi 4 роки тому +1

    Thank you 😊

  • @j.k_mint5083
    @j.k_mint5083 6 років тому +2

    Wow... Thank U men but how can i put two libraries in one sketch? Pls help me 🙏🏻

    • @user-db2du6kx7s
      @user-db2du6kx7s 5 років тому +2

      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

  • @m_guilajoseernest7147
    @m_guilajoseernest7147 4 роки тому

    Can you compile dht11, soil moisture and temperature codes?

  • @thesau1595
    @thesau1595 5 років тому +1

    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

    • @adrienhans5111
      @adrienhans5111 5 років тому +1

      hey there, have found answers for your queries.. im having problem too combining two independent programs.

  • @sactobat23kennedy79
    @sactobat23kennedy79 6 років тому

    How would one go about getting a circuit diagram for this code?

  • @blaisefon7696
    @blaisefon7696 5 років тому +1

    sir pleace how can i identify an arduino board that has no name on it

    • @user-db2du6kx7s
      @user-db2du6kx7s 5 років тому

      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...

  • @novenbado5323
    @novenbado5323 4 роки тому

    Can u tell me what is the 5 most important icons in Arduino(

  • @sactobat23kennedy79
    @sactobat23kennedy79 6 років тому +1

    Great video!!! Thank you

  • @metaprasetiyo8154
    @metaprasetiyo8154 3 роки тому

    Thank you bro...🙏

  • @andrewferg8737
    @andrewferg8737 4 роки тому

    Very helpful. Thanks for sharing.

  • @themanthelegend7048
    @themanthelegend7048 Рік тому

    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.

  • @luqmanhakim-vr8xd
    @luqmanhakim-vr8xd 6 років тому

    hi.....i have a question ....how can i make two code work on the same time..?

  • @tanveersarang1
    @tanveersarang1 6 років тому

    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

    • @NoorseLearningpoint
      @NoorseLearningpoint 4 роки тому

      It is so simple...

    • @favesongslist
      @favesongslist 4 роки тому +1

      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)){}

  • @mohammadsantosochannel4921
    @mohammadsantosochannel4921 4 роки тому

    Can I chat with you? I want a consultation regarding the Arduino program

  • @imabioligist1882
    @imabioligist1882 6 місяців тому

    Absolute fire!@!!!!!!!!!!!!!!!!!1!!!
    skibidi

  • @RETROGAME-FIX
    @RETROGAME-FIX 3 роки тому

    Hi sir can i send some codes and you combine and compile the code for me? thank you.

  • @user-fz8uw4wr9n
    @user-fz8uw4wr9n 5 років тому

    Thanks a lot !

  • @wasanthawimaladharm
    @wasanthawimaladharm 4 роки тому

    excellent

  • @nonaak
    @nonaak 5 років тому

    thanks. its very helpfull

  • @小粒
    @小粒 10 місяців тому

    Hi Lick

  • @vishalprajapati823
    @vishalprajapati823 6 років тому

    nice1