Arduino Programming Part 3 // Maker 101 | I Like To Make Stuff

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Now it's time to write some simple code and test a functioning (simple) Arduino project.
    Want to learn more? I made an online course!! arduinoformake...
    HERE'S WHAT YOU'LL NEED:
    amzn.to/1MDlgjI - Arduino Uno
    amzn.to/1OoSRPE - Electronics Parts Kit
    amzn.to/1OoT9pI - Breadboard & Jumper wires
    Arduino development environment (IDE): www.arduino.cc...
    Subscribe: bit.ly/ILikeToM...
    Check out my TopVideos!: bit.ly/ILikeToM...
    Learn 3d modeling, get digital plans, and cool merch at
    iliketomakestu...
    Want to support ILTMS? Get exclusive content and more...
    www.iliketomake...
    FOLLOW:
    / iliketomakestuff
    / iliketomakestuff
    / iltms
    #ILikeToMakeStuff
    About I Like To Make Stuff:
    We have lots of projects including woodworking, metalworking, electronics, 3D printing, prop making and more!
    These videos are our attempt inspire and empower others to make the stuff that they want to have. Hopefully you'll see something here that will inspire you to make something that you're passionate about!
    Arduino Programming Part 3 // Maker 101 | I Like To Make Stuff
    • Arduino Programming Pa...
    I Like To Make Stuff
    / iliketomakestuff

КОМЕНТАРІ • 247

  • @11rmax95
    @11rmax95 8 років тому +7

    You're currently my favorite channel on UA-cam. I wish you made more videos, but I realize it takes time to get quality. Keep up the good work!

  • @BrianAdle
    @BrianAdle 8 років тому +3

    I got my Arduino Starter Kit for Christmas and already have my LED blinking, reacting to a button, and changing patterns. I can't wait to get home today and hook up the potentiameter and give this circuit a go. Thanks for expanding the types of projects you're doing. I love the variety and appreciate the education.

  • @saguenayit
    @saguenayit 8 років тому +64

    That was a great introduction video doing terrific job at simplifying embedded coding and basic electronic.... Only one recommendation... In your montage, i would strongly suggest that you let the "IDE Screen" last longer as opposed to the shots showing you... It's not that you are ugly or anything... it's just that you should show what you are talking about using the IDE as a visual support.
    Trust me on this one !

    • @SaurabhSarang
      @SaurabhSarang 8 років тому +1

      very true.

    • @klaernie
      @klaernie 8 років тому +7

      It wouldn't need to be specifically switching between faceshot and IDE. I would recommend rather going for splitscreen, so the viewer can choose the focus. It might be also helpful to show the code flow better while explaining what it is doing. A little extra would be going through the code line by line and annotating the values and explaining it like you did, but highlight the current line synced to the audio.

    • @slowdaze
      @slowdaze 8 років тому +1

      +dyssynchro Agreed, I had to go back in the video to understand what he was talking about.

  • @9131frog
    @9131frog 8 років тому +4

    I love your videos on many levels but there are two things in particular that i very much appreciate:
    1. You edit them. Your videos a packed with info, not a bunch of chatting to fill time as you go about the process. I have to keep my mouse on the pause button because of the density of the info, but i LOVE THAT.
    2. You don't have some overy the top, 30 second, "look at how good i am with graphics", intro. THANK YOU for that!

  • @adamschaaf5046
    @adamschaaf5046 8 років тому +4

    Thanks for putting out this series. I just got an Arduino Uno for Christmas and have been having a lot of fun playing around with it.

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

    I just did this project with my son (11 yr) who's getting into programing. This was an awesome introduction. Thanks Bob for putting this together!

  • @PrinceWesterburg
    @PrinceWesterburg 7 років тому +6

    Creating and declaring an integer in a loop - Ooooh my computer studies teacher would have torn your ear off!!! LOL :D

  • @mereskimade
    @mereskimade 8 років тому

    Wow, talk about perfect timing. I just got a Raspberry Pi 2 for Christmas and this was a great primer to get me started. I'm sure not everybody wants programming talk but you made it so clear, and concise. I really hope you do more!

  • @pikachu-fe7tx
    @pikachu-fe7tx 8 років тому +1

    I saw in one of the comments that you would be posting this sometime this week. You're right on time!
    Great video. I probably could have found the same thing somewhere else, but instead I actually waited for this one.

  • @talesfromtheworkbench2788
    @talesfromtheworkbench2788 7 років тому

    I really appreciate the concise, easily understandable nature of your series on Arduino. I'm hoping to include electronics in some of the projects I make so this seemed like a good series to watch, since I've liked a lot of other videos you've done. I can see referring back to this series and your one on circuits as I muddle through my first projects. In fact, I appreciate this type of content from you so much, you've earned a Patreon subscription from me, joining my very short list of folks I can afford to support next to the likes of Jimmy Diresta and Laura Kampf. Keep up the good work!

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

    You have the finest knack for producing vids so that although fast, no time is wasted, and i can pause, look back at a frame to study and set syntax and program in my mind. I hope you produce more Arduino vids, and more advanced Arduino project vids. Thanks again.

  • @ccooper585
    @ccooper585 8 років тому +17

    You can't possibly be old enough to have a breadboard that looks that old. Great video!

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому +14

      +Clay Cooper hahaha, well.. I guess I am! When I was editing the footage it caught my eye how yellow it was. Pretty crazy.

  • @IDG4EVER
    @IDG4EVER 8 років тому +1

    My nine year old son has been showing me your videos.. He was excited to know that you posted this one this morning. Thank you!

  • @BenBrandt22
    @BenBrandt22 8 років тому +11

    Man, I need to get my arduino off the shelf and running some code again. Thanks for the video Bob.

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

    That was an absolutely ACE series Bob thanks for that. Just the primer I needed to get started on learning to code for Arduino and get some projects underway.

  • @masterxchiefette
    @masterxchiefette 8 років тому +1

    I don't know anything about programming but I still liked the video because Bob consistently makes quality content and he deserved more views.

  • @ranjdall
    @ranjdall 8 років тому

    Wow now I'm getting excited. I've read a bit about about arduino and the possibilities are endless but I've always been intimidated with programming

  • @MichaelLuis-z6f
    @MichaelLuis-z6f 11 місяців тому

    Great video series! Thanks for the quick, but not overly dumbed-down, description of how to use these. I also like to make stuff and I feel like I should have been using these boards for years now.
    Rad shirt btw.

  • @DeaconWoodworks
    @DeaconWoodworks 8 років тому +2

    Thanks, Bob for the great series. This is definitely a new side of making that I would be interested in trying. I may be heading over to amazon to pick up a couple of things to give this a shot.

  • @Levdbas
    @Levdbas 8 років тому

    Yaay! Awesome series. I work for quite some time now with these devices and you can create crazy stuff! connect it to the internet, post to a server or database, enable or disable bigger machines with a special shield, do some RFID work, create your own low-end security system. The possibilities are endless! Hit me up with any questions and I'll try to answer them!

  • @codetwister86
    @codetwister86 8 років тому +10

    Hi Bob,
    I really enjoy your videos. I would like to add that because of the wiring of the LED High actually means the LED is off and Low that it's on, because the output pin actually sinks current, which is correct, an Arduino pin can sink more current than it can supply. Just like to point out: high and low are just the output pins voltage states, and what that means depends on the circuitry connected to it. Anyway, great content on your channel, keep up the good work.

    • @johnmartin375
      @johnmartin375 7 років тому

      ehh I was right. I just said that very same thing. thank you for confirming. :)

  • @MarkCopeland
    @MarkCopeland 8 років тому +1

    Good job explaning it Bob, it would be great to see you talk about other possible projects you could use an Arduino. Like your automatic blast gates, that was a really good idea.

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

    Best 18 minutes i have ever spent on youtube. 100/100!!!

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

    It's funny once I realized that you just created exactly what a 555 IC pin does. Awhile back I made a DIY buzzer timer using a 556 (just two 555s in one IC) so it made a tone at a certain time depending on how much resistance the pot was giving the circuit. This method is soo much easier, most likely cheaper as well because at one point i decided to calculate how much money I had put into this little project, ya way too much! I love your channel btw

  • @gurbangurbanov1839
    @gurbangurbanov1839 7 років тому

    You explain programming related stuff much better than my teacher at university does 🤘, thanks

  • @davidalexa2254
    @davidalexa2254 8 років тому +1

    Bob you are my spirit animal. Thanks for all the inspiration

  • @agustinburroni8745
    @agustinburroni8745 8 років тому

    Honestly you deserve ten times the amount of subscribers you have.
    Cheers.

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

    Hi Bob, I am going to dive into arduino, but I was wondering how do you know what to write for the commands?
    Do you just have to memorize them or is there a list some where you can reference?

  • @Pyrex238
    @Pyrex238 7 років тому

    So I just got an Arduino today, and I had every single component you mentioned, so I followed around and ta da! I got my learn on!

  • @DaniMakes
    @DaniMakes 8 років тому

    You basically made a PWM to control the LED. Basically, because the on off are the same length but both stretched, instead of the ratio changing. With a little tweaking you can make this an LED dimmer circuit.

  • @ExStaticBass
    @ExStaticBass 7 років тому

    Just as a side note, it might have been a cool idea to type the sketch out in the description or link to a page of some sort with the sketch on it. Personally I'm interested in the digitalRead function. Possibly to increase and decrease the brightness of an LED by changing the duty cycle on the digitalWrite function. I've looked at several examples, none of which work for my application and can't quite seem to wrap my head around the "why" of it.

  • @zachhai2019
    @zachhai2019 8 років тому

    Yay! u finally got arduino!!!!!! I have a great recommendation for you. Try to do a morse code reader from either a raspberry pie or arduino. Connect the button to the arduino and program it so that the sound and light is readed by the arduino/raspberry pie

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

    Would you do a 'how to' for making a small rc car with this?
    I am sure I will figure it out when I keep messing around, but I like the way you explain things.

  • @adamespinoza7877
    @adamespinoza7877 8 років тому +1

    I just got my first one cant wait to use it!

  • @tiesbeer
    @tiesbeer 8 років тому

    But if you have the cathode of the LED connected to a pin and the anode via a resistor to 5v, writing the pin high would turn it off and writing it low would turn it on. But that's just nitpicking, great video Bob!

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

    Awesome series. You gained a sub.

  • @goatzillaroo
    @goatzillaroo 8 років тому

    Awesome video and perfect series! I'd love to see a raspberry series as well! Cheers and have a good one.

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому

      +Tiago Garcia Thanks! Yes, it's definitely on my list to do at some point!

  • @MortyGG
    @MortyGG 8 років тому

    You're very good at explaining it, so it seems simple. Please do more Arduino videos - could also be included in a woodworking project you're doing.

  • @crille361
    @crille361 8 років тому +2

    I ordered an Arduino starter kit, because of you ;)
    Cant wait for Part 4!!

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому

      +Christoffer Gustafsson Nice!

    • @TrikiDick
      @TrikiDick 8 років тому

      +Christoffer Gustafsson I also ordered mine yesterday because of Bob. Mine comes in tomorrow. However, Bob did say this series was only going to be a three part!

    • @crille361
      @crille361 8 років тому

      +TrikiDick hm.. hope he changes his mind :)

    • @TrikiDick
      @TrikiDick 8 років тому

      Christoffer Gustafsson Me too. UPS cocked over my Thursday Delivery because they took the day off. But mine is on it's way and to be truthful I am feeling a little overwhelmed. One step at a time!

  • @Smidsy7
    @Smidsy7 8 років тому

    One point. If you tie the LED to the +5volt rail, then writing the output pin LOW actually turns the LED ON, not off as you say. Pin HIGH then then turns the LED OFF.
    Minor point I know.

  • @yaguarete79
    @yaguarete79 8 років тому +3

    Great video! People who downvote this video obviously don't get it's meant for people who are just beginning in the Arduino world. I'm a programmer myself, however I don't take this video lightly. I think there's pretty good knowledge in it. Thanks for sharing your knowledge. We're starting to "speak" to the Arduino board now :)

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

      so true...I am a first-year mechanical student and am interested in robotics so I started searching for Arduino tutorials....and this super easy to understand.
      Thanks! I like to make stuff

  • @saseraai
    @saseraai 8 років тому +2

    this vid really push me to make another project,, eventought not arduino based,, nice vid sir..

  • @marvinschneider2707
    @marvinschneider2707 8 років тому +6

    love these videos please go on doing theses things

  • @casualbuffalo76
    @casualbuffalo76 8 років тому

    this guy is so cool I've been subscribed for a while. keep up the amazing work

  • @StamosTee
    @StamosTee 8 років тому

    Great series. Very informative. Thanks for sharing.

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

    Hey how's it going my friend? I have a quick question for you. I have the Arduino, temperature probe, a small flexible silicone heating pad, and battery. I'm having trouble programming the system to maintain 2oz of liquid at a certain temperature and for system to cut off when desired temperature is reached and cut back on when desired temperature falls below desired temperature can you help please thanks?

  • @johnmartin375
    @johnmartin375 7 років тому

    great video. very informative. thank you. I do have one question though. Since the cathode is connected to the D4 and you start by turning D4 HIGH, doesn't that turn the LED off due to having 5v to both it's anode and cathode? It seems as though you're setting it off - delay - on - delay - loop.

  • @adigunawibi
    @adigunawibi 8 років тому +1

    simple but helpfull,
    can't wait for next lesson

  • @acdcjustthebest....8980
    @acdcjustthebest....8980 6 років тому

    G'Day Bob, Have you done a video on how to make the keypad shield button actually operate a digital output pin. I am new to this Arduino world by 2 weeks and have done the blinking LED and other useless stuff. I have managed to mix some codes to make a hall effects sensor, to count on the keypad shield, "to count rotations" not RPM like everyone seems to do with it. I have connected a 3 phase stepper drive to the uno and shield and all the buttons do is stop the motor and it wont start. So just wondering if you had any info on something like that ? Cheers

  • @sam-cy6nl
    @sam-cy6nl 8 років тому

    Just found your channel and hope it inspires the future of youtube channels. so can you make a wood coffee table that displays text messages or something digitally cool like the clock. I noticed the more awesome your picture, the more views you had.

  • @thorsten5950
    @thorsten5950 8 років тому +1

    when U connect on side of the LED to +5V
    the LED will only be on if the arduino pin is low.
    If it's high you have +5V to +5V which has no differences so no current flows

  • @koum6984
    @koum6984 8 років тому

    one more great video , can you make a video about the shapeoko gshield arduino and what can we modify or tweak? thanks

  • @csplinter
    @csplinter 7 років тому

    Thanks. A nice introduction to all this.

  • @fouarges
    @fouarges 8 років тому

    Great videos production! Can't wait for the next episodes.
    What do you call the green board you place the parts on at 0:55 ?

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

    you are a very good teacher

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

    nice video and all,, but can you be more clear? like, what kind of resistor did you use? by the markings i dont have one like that and i have a pack of about 100 different ones lol

  • @Fikozmeilord
    @Fikozmeilord 8 років тому

    Well the sketch is not so unsless. I'v add another potentiometer, to control the two delay timers sepredly, and with the help of some N-chanel mosfet's, i'v build a petrol fuel injector driver for my ultra sonic washer. Thx for the lesson, it was very helpful.

  • @braw87
    @braw87 8 років тому

    Awesome video, were you a programmer in a past life? Or just studied and read up a lot on Arduinos?

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому

      Yeah I did software development before I Like To Make Stuff

  • @DmytroLutsenko
    @DmytroLutsenko 8 років тому

    Bob, why you dont explain a resistor function in this scheme? p.s. video is nice, IMHO general advantage of arduino its connection with real world, which isnt exist in classic programming.

  • @keijjo6428
    @keijjo6428 8 років тому

    Great video. And more arduino projects please

  • @MarcSchaefermeyer
    @MarcSchaefermeyer 8 років тому +1

    Did i just see that pot get turned to 11? Very well explained!

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

    I did the same but while verifying it says pinmode was not declared in this scope

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

    Why is the delayTimer variable defined inside the loop, rather than at the beginning, along with the other variables?

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

      Philip Chandler, that's because it's not a fixed variable and won't work and the reason of it being in loop rather than setup Is we read the analog values again again not once. Hope it helps

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

    i love your tutorials, but can u make more please? you can explain things so good

  • @brandonking277
    @brandonking277 7 років тому

    Random question, but do you know a good supplier of aluminum extrusion? I'm trying to make a sim-racing setup and am planning on using aluminium extrusion so it can be adjustable depending on whose using it.

  • @JackSinger
    @JackSinger 8 років тому

    I love this series!

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

    hello its a good video...
    my question I want to work with ARDUINO UNO for SERVO total 4 servos I want to run with it so is it necessary to connect it with bread board without it can it be possible. if yes how and if no then what to do.
    thanks for the help dear....
    good work keeping going.

  • @scottpskating
    @scottpskating 8 років тому

    Great video Bob, that even made sense to a complete technophobe like me well done!

  • @jbb5470
    @jbb5470 8 років тому

    Great series!

  • @CarlosFandango73
    @CarlosFandango73 8 років тому

    great set of videos. would you recommend any books to start coding with the arduino?

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому

      +Wayne Byrne Make Magazine has a Getting Started with Arduino book that's great! amzn.to/1JJeBV7

    • @CarlosFandango73
      @CarlosFandango73 8 років тому

      +I Like To Make Stuff thanks for taking the time to reply. I will check that out. keep up the great work and thanks again

  • @datadev1
    @datadev1 8 років тому

    "Hello World." ;) Another nice lesson.

  • @santhoshsridhar5887
    @santhoshsridhar5887 8 років тому

    this is a very good video for people who are going to program. any more videos after this

  • @JosueRodriguezTonUpBoy
    @JosueRodriguezTonUpBoy 8 років тому

    Nice and simple... Perfect :) helped a lot

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

    I love make stuff, may i ask how much resistance do i use?

  • @thomasalexander1563
    @thomasalexander1563 7 років тому

    so short series,
    but very helpfull..
    Make more about Arduino content please..

  • @Tchefter
    @Tchefter 8 років тому

    Hi Bob, you should told that the DELAY Function is not the best to use, told they should learn asap examples like "blink with out delay" it is the better way for future projects...
    Btw: nice Project as always! :-)

  • @RoborobsComputers
    @RoborobsComputers 8 років тому

    Bob, do you know if anyone has built a CNC around an arduino? would be very complex but would make an awesome project. BTW you make great videos and this series is no different.

    • @Iliketomakestuff
      @Iliketomakestuff  8 років тому

      +Robert Tucker Thanks Robert! Actually yes, my X-Carve is based on this exact same Arduino Uno. A lot of the smaller CNC machines are as well.

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

    Really helpful video, but maybe would have been better to just make one led blink for absolute beginners. but really good job explaining the structure of the code.

  • @rsawyer05
    @rsawyer05 8 років тому

    Bob, Great video. Even though that was a simple circuit I found it very interesting. Thanks. :)

  • @tiny_mandan4827
    @tiny_mandan4827 8 років тому

    very cool man! I enjoy your videos.

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

    Very much helpful, thanks a lot.

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

    nice one man!i love your videos!

  • @srinidhis3105
    @srinidhis3105 7 років тому

    Hi Sir.. I just wanna know what is the kid of kit we need to design a project.. I mean.. Mg project is the smart street lights.. When turns ON when the vehicle comes and OFFs when the vehicle moves forward... Could u plz tell me which arduino chip and kit will help me do the project

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

    Thanks you should make more videos like this👍

  • @RexusKing
    @RexusKing 8 років тому +1

    Thinking about the face Jimmy DiResta makes while watching this makes me laugh :)

  • @danmaceachern8843
    @danmaceachern8843 8 років тому

    This looks like it could run the auger on my Pellet stove....sweeet!!

  • @masonprice897
    @masonprice897 7 років тому

    Wow this is very helpful, thank you!

  • @gasparandrei
    @gasparandrei 8 років тому

    Thanks, great content. I wish I could see the whole circuit, not just parts of it... it's easier to build that way for beginners like me

  • @jamest.5001
    @jamest.5001 8 років тому

    I am needing to build a DC to DC boost stage for a inverter. would a arduino work good for that part of my project? and I'm guessing I can use it for the protection of the whole system. over/under voltage. temp.and over current. but the problem is I have no experience with arduino or programing. this time last year. I had never even heard of arduino. but watching UA-cam about 8 months ago. the first time I saw one. was a video of home automation using arduino. I have studied it some since then. and I'm thinking maybe I can use this for my project. it is a must. I need to build this inverter for my offgrid home I need to have already moved in to. and I would like to build a series wound dc motor speed controller. for 72v and 350-400amps. but that can wait. I was planning to use the egs-002 spwm inverter driver board. it has the MOSFET drivers built in. do you think I can get all this to work together . it needs to be 12-24 or even 48 volts DC . and a 60 Hz 120v ac out. a 220/240v split phase would be great.but not necessary. I don't have much use for 220v. but I need like 4,5or6 kW plus output. basically 3 20amp circuits. and would like to be able to expand the output later if I need to. sorry for rambling on. but for the boost stage would a arduino be a efficient controller for a DC to DC boost with protection and constant voltage output with limited over shoot. that is my main concerns . or would some other ic work better? I really like your videos. and thanks for all the info.

  • @chbonnici
    @chbonnici 7 років тому

    Excellent video and presentation but it would help if you slow down a little. Many thanks . Good stuff

  • @carolinemarwan911
    @carolinemarwan911 7 років тому

    Great video, thanks 👍🏻💜

  • @wenxin4243
    @wenxin4243 8 років тому +16

    BreadBoard......
    Bread 🍞..........
    Bread makes sandwich
    Mmm sandwich
    Uh oh
    I'm hungry

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

    You defined the integer "delayTimer" within the void loop, which the program says is an error. I moved that code up to the top next to the other integers that you defined and everything was OK.

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

    Best channel

  • @josephchennattu9174
    @josephchennattu9174 8 років тому

    superb vid continue making videos liked😃

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

    You can actually improve that code in a simple way, instead of delaying the loop two times with a line like:
    digitalWrite(pinLED, !digitalRead(pinLED));
    This way you can alternate pin state without turning it HIGH and LOW with only one line of code and only one delay line, variable resistor will become more responsive :)

  • @kiby4912
    @kiby4912 7 років тому

    hey just asking, the code will not bypass the analog read until it obtains a value?

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

    Here's some code that could help you guys.
    //Project1__Blink_4_LED
    int ledPin1 = 5; // pin # 5
    int ledPin2 = 6; // pin #6 is used
    int ledPin3 = 7; // pin #7 is used
    int ledPin4 = 8; // pin #8 is used
    int ledPin5 = 9; // pin #9 is used
    void setup() {
    pinMode(ledPin1,OUTPUT); // pin 5 is OUTPUT, LED connected to it
    pinMode(ledPin2,OUTPUT); // pin 6 is OUTPUT, LED connected to it
    pinMode(ledPin3,OUTPUT); // pin 7 is OUTPUT, LED connected to it
    pinMode(ledPin4,OUTPUT); // pin 8 is OUTPUT, LED connected to it
    pinMode(ledPin5,OUTPUT); // pin 9 is OUTPUT, LED connected to it
    }
    void loop() {
    digitalWrite(ledPin1,HIGH); // make pin 5 HIGH
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin1,LOW); // make pin 5 LOW
    delay(2000); // LED is off for 2 seconds
    digitalWrite(ledPin2,HIGH); // make pin 6 HIGH
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin2,LOW); // make pin 6 LOW
    delay(2000); // LED is off for 2 seconds
    digitalWrite(ledPin3,HIGH); // make pin 7 HIGH
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin3,LOW); // make pin 7 LOW
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin4,HIGH); // make pin 8 HIGH
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin4,LOW); // make pin 8 LOW
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin5,HIGH); // make pin 9 HIGH
    delay(2000); // LED is on for 2 seconds
    digitalWrite(ledPin5,LOW); // make pin 9 LOW
    delay(2000); // LED is on for 2 seconds
    }

  • @feidex
    @feidex 8 років тому +24

    I get it 99.9%

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

    Itotally get it now
    Hey can u make a video pf how to control led matrix plzz