Arduino Lesson 9 - For Loops

Поделиться
HTML-код
  • Опубликовано: 10 дек 2016
  • НаукаНаука

Комментарии • 102

  • @brades80
    @brades80 5 лет назад +49

    I noticed you published these videos in late Dec 2016... Your tutorials are the best I've come across. Thank you so much its made a personal difference to the understanding of my coding. All 9 lessons where explained very well. I hope that you can find the time & energy to create more.

    • @benduino7327
      @benduino7327  5 лет назад +16

      Thank you very much! I will try and find time one day but I'm currently retraining as a doctor so don't have as much time unfortunately. I'm glad they were useful! :)

    • @johndanielpael9698
      @johndanielpael9698 7 месяцев назад

      @@benduino7327 willing to wait for you to come back

  • @dawnjane
    @dawnjane Месяц назад

    Just wanted to say thanks for making these videos! I finished watching all 9 of your Arduino lesson videos today. I've gotta say, this aged like fine wine. I really loved how in depth your explanations were, though not that deep as to avoid going down an unnecessary rabbit whole. I honestly feel all the more excited to tackle the Arduino project my teacher told us to make!

  • @mojtabarahem5955
    @mojtabarahem5955 2 месяца назад +1

    The best tutorials of Arduino i have ever seen you are the Best Thank you

  • @nathneals1153
    @nathneals1153 5 лет назад +16

    Excellent Videos please make more tutorials on advanced applications and programming​.

  • @joelpack2707
    @joelpack2707 3 месяца назад

    Awesome lesson plan, I've been looking through videos for about 3 weeks and this is the only series that kept my interest and wanting more. No BS just the good stuff. Thank YOU

  • @Null.S
    @Null.S 3 месяца назад

    This has aged very well. It’s simple and easy to understand. Thanks for creating such good lessons.

  • @SecurityCraftsman
    @SecurityCraftsman 3 года назад

    Really appreciate your course. Did a great job of running through a lot of topics in an easy to understand and consume manner.

  • @jozefkumberger1926
    @jozefkumberger1926 3 года назад

    OK...this wos the most useful Arduino course I ever saw. Could watch this all day. You are a champion! Please give us more!!

  • @VintageCraftsmanTools
    @VintageCraftsmanTools 5 лет назад +5

    Hello. I just wanted to say thank you for explaining "for loop" so easily. I am new to Arduino coding. I was very confused with some of the codes including this one. so far your video has been my number 1 favorite video. keep up the good work. Thanks

  • @stustjohn
    @stustjohn 4 года назад

    These videos are the clearest, most succinct explanations of Arduino programming I have yet come across. Thank you for your time and effort! 😀

  • @captainprototype187
    @captainprototype187 5 лет назад +2

    I love coming back tothese clear pieces of knowledge. This time I finished and understood it all the way till the end. Nice surpurise, some Kool&TheGang at the end, lol!

  • @roadhammermotors700
    @roadhammermotors700 3 года назад +1

    I would gladly pay for a course by this guy , he is a great teacher !

  • @TheTemporalAnomaly
    @TheTemporalAnomaly 2 года назад

    I am only five minutes into this and already can see that you are probably the best at explaining these principles. Other You-tubers have not gone into the necessary depth. Well done Sir, you have an excellent channel here. Complements Chris, UK.

  • @ResonaBLK
    @ResonaBLK 4 года назад

    Very high quality lessons on the basics of arduino, this has really helped me understand the basics. Thanks

  • @itsabuscus1619
    @itsabuscus1619 3 года назад

    Good stuff! Thank you for taking the time and making this video. Helped me a lot in understanding for loops.

  • @bradinmcclelland951
    @bradinmcclelland951 4 года назад

    I love the tutorials because I can listen to them while driving. The random music is always interesting because you will be talking and then music

  • @TheInnovativeTeacherAnanda
    @TheInnovativeTeacherAnanda Год назад

    Thank you for explaining so vividly.

  • @baraxx
    @baraxx 5 лет назад +1

    Super thank you for this video Ben, million percent video I was looking for. Perfect for a novice like me. I cant thank you enough.

  • @roadeycarl
    @roadeycarl 6 лет назад +1

    Appreciate you making these videos, they are very helpful!

  • @tomalkirttonia1609
    @tomalkirttonia1609 4 года назад +1

    Hey there,thank you for uploading such amazing videos.Because of your video tutorials ,now I have pretty much good idea about the basics of arduino. Thanks a lot man...

  • @shalenprakash4668
    @shalenprakash4668 3 года назад +1

    Wow! That was awesome mate, great teaching!

  • @medmeed3741
    @medmeed3741 3 года назад

    thanks man i love your work and your explanation way

  • @debapratim3976
    @debapratim3976 3 года назад

    Thanks a ton for making this series!!!

  • @salc9593
    @salc9593 6 лет назад +1

    First I would like to thank you for posting you 9 videos they have been a great help in my understanding coding as I am a Neophyte Arduino. I hope may create some new videos I am interested in learning to use millis() in coding. Thanks again.

  • @JohnDoe-zh7ln
    @JohnDoe-zh7ln 5 лет назад +1

    Yo, thank so much for your tutorials. Much love

  • @kemaketseforkssebitiela3089
    @kemaketseforkssebitiela3089 8 месяцев назад

    ❤This is too good and informative-brief to the point 😊

  • @hassidan
    @hassidan 3 года назад

    best tutorials for arduino that i have watched!
    your explaining methods are great and you have all most answered any question that i had in my mind!
    if you are planning to get back to create great content like this, i have a lesson idea: lesson for resistors and all kind of them.

  • @HETRM
    @HETRM 3 года назад

    you are the best!!! god bless you!!!

  • @esamsharaf
    @esamsharaf 4 года назад +1

    amazing tutorials no other channel explains arduino as well as you i want to continue learning so please post more
    Thanks

  • @johnrees44..G4EIJ
    @johnrees44..G4EIJ 3 года назад

    As you know, there are many Arduino tutorials on YT...Most are very good...Yours are absolutely superb! I haven't got a clue what I'm doing with the Arduino, but your tutorials have got me on the right track.. Your diction and phrasing are absolutely perfect for those of us who might be a little slow on the uptake...in my case, because of age☹️.. Thank you, my friend.. I look forward to more of your videos..Kind regards to you.. John.. Bristol..UK

  • @reyrank2846
    @reyrank2846 3 года назад

    This is the layman's explanation that i across and very well presented...Well explained...keep teaching....thanks...

  • @shardyphotographic
    @shardyphotographic 4 месяца назад

    Excellent tuition thank you for explaining the lessons

  • @rhandynastor4866
    @rhandynastor4866 Год назад

    best explanation Ive ever watched

  • @chickenworldxl9793
    @chickenworldxl9793 4 года назад +1

    well done! this really helped me thanks!

  • @priyanganiherath8120
    @priyanganiherath8120 4 года назад +1

    Thank you very much, I learnt my arduino lesson thanks to you

  • @darrenstettner5381
    @darrenstettner5381 4 года назад

    Great videos. Concise and informative.

  • @NuftyAble
    @NuftyAble 4 года назад

    awesome videos, helped me a lot! thx!

  • @Galaxy-lo7ek
    @Galaxy-lo7ek 2 года назад

    Super video, the only one i fully understood. Thank you:)

  • @yoavattias2072
    @yoavattias2072 3 года назад

    6:07 best explanation so far, thank you very much :)

  • @wuopisht
    @wuopisht 5 лет назад +1

    Congratulations, excellent tutorials!
    1. Just pointing out (as did some others) that i++ and i-- are executed AFTER the for loop iteration, right before the next iteration. That means, in the case of i++, that the first time the for loop is executed, i is 0; the second time, i is 1, and so on. Likewise, in the case of i--, the first time i is 255; the second time i is 254, and so on.
    2. Maybe each country has its own naming conventions, but I usually hear the name "brackets" or "square brackets" for "[ ]" and the name "braces" or "curly brackets" for "{ }".

  • @captainprototype187
    @captainprototype187 5 лет назад

    These vids are very good as summeries for a newbie like me.

  • @tinkeringlabplus2516
    @tinkeringlabplus2516 4 года назад +1

    Thanks a Lot for the introductory tutorial on Arduino.

  • @benoitbessette658
    @benoitbessette658 4 года назад +1

    thank you exactly the tutorial i need.

  • @wallaceshackleton1889
    @wallaceshackleton1889 4 года назад

    Very good, and very educational, thanks

  • @franciscocuan1154
    @franciscocuan1154 3 года назад +1

    Dude! You speak my language! I finally understand!

  • @RotorWorks
    @RotorWorks 5 лет назад

    Great series. Wish you had kept them going

  • @janakawijesinha
    @janakawijesinha 3 года назад

    thank you buddy a value video 👍👍👍

  • @khaneduardyang7630
    @khaneduardyang7630 4 года назад

    a very excellent tutorial it works for me

  • @kushalgawande7006
    @kushalgawande7006 3 года назад

    You are best explainer

  • @aryangarg9344
    @aryangarg9344 4 года назад

    excellent videos

  • @vicente5932
    @vicente5932 6 месяцев назад

    amazing bro

  • @simonmsiza6667
    @simonmsiza6667 8 месяцев назад

    Thanks million times brur

  • @zeno4636
    @zeno4636 3 года назад +1

    thank you!!

  • @ireleighomalley6832
    @ireleighomalley6832 Год назад

    This is saving me fr

  • @mrcanisters
    @mrcanisters 6 лет назад

    nice and clear for beginners. thanks.

  • @amberchatriwala5225
    @amberchatriwala5225 3 года назад

    Dude you should make more videos you are awesome
    Please keep making videos

  • @ningarkumar389
    @ningarkumar389 7 лет назад

    awesome sir lu

  • @erikmattson8629
    @erikmattson8629 4 года назад +1

    Perfectly explained. I'm actually giddy with understanding (That's right, I said giddy.) Thank you! 👍

  • @user-ob4de8en4t
    @user-ob4de8en4t 5 месяцев назад

    Thankyou It Really Helps Me A Lot👌👌👌👌👌👌👌👌👌👌

  • @bsc7812
    @bsc7812 5 лет назад

    Your videos are great. You took what many others made such a convoluted process and made it much more simple. I am an amateur with these microcontrollers and coding right now but I enjoying tinkering with things. May I suggest a new video idea? Take each coding segment and give real world examples of how to use them. You do it a bit in each video but if you could expand on this would be great help to amateurs like me who use this as a hobby. Examples: what real world applications could a (for loop) be used for, (if, then) statements, etc...….

  • @tzamar977
    @tzamar977 Год назад

    goat videos

  • @capistor1
    @capistor1 6 лет назад

    ty ty love yoouuuuuu

  • @marko4480
    @marko4480 4 года назад

    love it
    lol

  • @abdelhamidkostalani7541
    @abdelhamidkostalani7541 2 года назад

    thank u veryyy muchh u'r a good person

  • @aldebaranflash2663
    @aldebaranflash2663 5 лет назад

    good explanation, thx Bro.

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 6 месяцев назад

    wow very genius... pls more logics..

  • @morganmanuel8666
    @morganmanuel8666 5 лет назад

    Very helpful!!

  • @learnwithafia5257
    @learnwithafia5257 2 года назад

    Thanks 😇

  • @ej6921
    @ej6921 3 года назад +1

    Can you Please do videos on float, case, break and while?
    :D

  • @VINInvents
    @VINInvents 10 месяцев назад

    should I use different value than "i" if there are multiple for loops?

  • @hellsbells056
    @hellsbells056 7 лет назад

    Insightful.

  • @james647736
    @james647736 4 года назад +1

    hi good vid thanks. Is it possible to loop for a given time period, regardless of how many loops have been cycled through?

  • @michaelsanchez8519
    @michaelsanchez8519 5 лет назад +1

    How do I get my interface to show bold digits like yours?

  • @venkateshkarnam7149
    @venkateshkarnam7149 4 года назад

    Super

  • @TheHEALER1984
    @TheHEALER1984 3 года назад

    Best explaination of Arduino codes on yt, pitty that you stop making videos!!!

  • @clems6989
    @clems6989 2 года назад

    Why did you stop. Would love to see more....I hope yiu are OK my friend....

  • @MrMlemon
    @MrMlemon 4 года назад

    Excellent video! Can I place a "For Loop" within another "For Loop"? I'm wanting to run the 2nd set of code a set number of times, followed by a set number of times followed by yet another set number of times, so I can flash 3 digit signals. i.e. SOS etc... but with fade in/out LED. Thanks

  • @Tydem
    @Tydem 5 лет назад

    pleeease make more awesome vids!

  • @shlb3692
    @shlb3692 5 лет назад

    perfect

    • @benduino7327
      @benduino7327  5 лет назад

      I'm glad you found them useful! Thanks for leaving the comments it's always so nice to read them!

  • @petrsonTD
    @petrsonTD 5 лет назад

    what font do you use?

  • @tomsothertube
    @tomsothertube 7 лет назад +1

    The increment/decrement of the For loop is done after the {block} of code is executed not before. Insert a simple Serial.println(i); in the loop to demonstrate this.

  • @lonelykid7691
    @lonelykid7691 5 лет назад

    I understand it, but I don't know what I would use it for (other than for blinking an LED light).

    • @captainprototype187
      @captainprototype187 5 лет назад

      You can build an arm which punches you in the face 5 times to wake you up in the morning. And do it again after 5 seconds. and again, and again. If you want to be hit just 5 times, you should use the IF, ELSE statement.Just replace the led with a motor.

  • @cameramensandy
    @cameramensandy 5 лет назад

    Can I add "for" when I using "if" function?
    Where I should put "for" function in this code?
    "digitalWrite(PIN_SWITCH_1, (RemoteXY.select_1==0)?HIGH:LOW);
    if(RemoteXY.select_1==1)
    {
    digitalWrite(PIN_SWITCH_1,HIGH);
    delay(500);
    digitalWrite(PIN_SWITCH_1,LOW);
    delay(500);
    }"
    cz every time I write "for(i=0; i

  • @captainprototype187
    @captainprototype187 5 лет назад +1

    "Before we run the loop, add 1". (i++)
    ..... So, this means the counting of i starts at one because i=0.

  • @stephenb.7273
    @stephenb.7273 6 лет назад

    Helped a lot

  • @bernardbritton3925
    @bernardbritton3925 5 лет назад

    Good tutorial, let's say I want to have the LED flash 5 times and stop, then flash once every 10 minutes until power is interrupted from the board

    • @ronc1357
      @ronc1357 5 лет назад

      Try this don't know if it will work...........Type your for loop code in "void setup" instead of "void loop" (the code that flashes the led 5 times, give it a delay of how ever long you wan't)....... then type in, (in "void loop")
      int = led 13;
      int = i;
      void setup() {
      pinMode(led, output);
      for(i=0; i

    • @bernardbritton3925
      @bernardbritton3925 5 лет назад

      @@ronc1357 Thanks for your help

    • @ronc1357
      @ronc1357 5 лет назад

      @@bernardbritton3925 let me know if that works.

  • @amirahmadi794
    @amirahmadi794 4 года назад

    for next lesson drive a 7segment with BCD code

  • @captainprototype187
    @captainprototype187 5 лет назад

    In the 2nd example i=255 you could understandably make the mistake that it is saying" Loop i, 255 times. What you are saying is increase i to full brightness. Totally different.
    I guess you should watch that.

  • @thedarkknight7553
    @thedarkknight7553 5 лет назад

    Can i put for loops in a if statement?

    • @benduino7327
      @benduino7327  5 лет назад

      You can indeed!

    • @thedarkknight7553
      @thedarkknight7553 5 лет назад

      @@benduino7327 THANK YOU SIR...and can if statements work for servos?

  • @markharrisllb
    @markharrisllb 3 года назад

    I don't think I’m on my own by saying you not uploading anymore is RUclips and newbies loss.

  • @tedthisius4778
    @tedthisius4778 5 лет назад

    Some may wonder why the variables "i", "j" etc. are used for the counters is these loops. I believe this is historical. As I recall it was necessary to use this section of the alphabet in other programming languages such as Fortran. This was the first high level programming language that I was exposed to.

  • @sahibakhurana9547
    @sahibakhurana9547 3 года назад

    Hey Benduino! I work for a company that is helping create an open platform to learn how to code. I feel like your videos would be a perfect fit there. Could you give me an email address where we can discuss more?

  • @jaysernal8701
    @jaysernal8701 4 года назад

    i really appreciate this it is very helpful to me.....