7. Arduino General Purpose Input/Output Pins

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2024

ความคิดเห็น • 24

  • @raghavsrivastava2910
    @raghavsrivastava2910 3 ปีที่แล้ว

    Great Video, RIP Professor.

  • @conorkerin5277
    @conorkerin5277 3 ปีที่แล้ว +1

    At 40.18 you could use if else statements
    if(PIND0) PORTD &= 0XFD;
    else PORTD |= 0X02;

  • @WhatAboutYou123
    @WhatAboutYou123 7 ปีที่แล้ว

    thank you sir !! hope you have a great day

  • @k0ppit
    @k0ppit 9 ปีที่แล้ว

    Writing a 1 to the PINxn Register will toggle the Output of the respective pin (if set to output). I guess that will make the blinky sketch more efficient.

    • @DrZAP42
      @DrZAP42  9 ปีที่แล้ว

      Indeed. The basic Blink program has a number of ways to become more efficient.

    • @shyamthillainathan8611
      @shyamthillainathan8611 7 ปีที่แล้ว

      Hi @Robert Paz: I was not able to access the lecture slides at: "drive.google.com/openid=0B5jlwlXJI8pJVGgwOEg5TFNBTGs". It shows a 404 ERROR. Will it be possible to share the lecture slides for all the videos including your videos on "Arduino Assembly", "Arduino Basics" & "Hands-on Arduino". This would help a lot of people as it would be good reference material. Thanks a ton in advance.

  • @LifeWorthwhile
    @LifeWorthwhile 9 ปีที่แล้ว

    sir upload a video telling about arduino,its pins.use of every pin an all so that we can answer the questions in interview or we can tell anyone about arduino .

  • @mahaveer1993
    @mahaveer1993 8 ปีที่แล้ว +2

    The links to lecture slides are not working , please can you give alternate link or email??
    reply is appreciated ,Thanks

    • @djtoddles8750
      @djtoddles8750 5 ปีที่แล้ว

      (bump) I was wondering this as well, are they available now? The google doc page appears to be empty

    • @nataliehedayati1443
      @nataliehedayati1443 5 ปีที่แล้ว

      He died!

    • @abduljabbaralsharif3530
      @abduljabbaralsharif3530 5 ปีที่แล้ว

      drive.google.com/open?id=0B5jlwlXJI8pJVGgwOEg5TFNBTGs

  • @djtoddles8750
    @djtoddles8750 5 ปีที่แล้ว

    29:25 I've always used the following mnemonic for recalling the 1:Output/0:Input pin protocol:
    Oh (letter 'O'), I will have Won (sounds like number '1') if I get the correct OUTput (so 1:Output), but if I'm a ZERO (i.e., loser) then I will be IN (input) trouble for failing to make the circuit correctly (so 0:Input).

    • @djtoddles8750
      @djtoddles8750 5 ปีที่แล้ว

      If they ever reverse the protocol to 1:Input/0:Output in the future, use this mnemonic instead:
      If I have WON (number '1') then I'm IN like Flynn, so 1:Input. But if I'm a ZERO (i.e., loser) then I will be cast OUT, just as the archangel Satan was cast down from Heaven (Revelation 12:7-9), so 0:Output.

  • @gunnerstone120
    @gunnerstone120 7 ปีที่แล้ว

    I wish you were my teacher.

  • @wkinne1
    @wkinne1 9 ปีที่แล้ว

    Do these videos eventually teach programming in the Arduino IDE, C/C++, and assembly? Or is this more of a technical "how it works" course? There is a ton of knowledge here, I am wondering if I will learn how to use all this information. Or is the student expected to acquire programming skills elsewhere? Sorry to be a pest, thanks.

    • @DrZAP42
      @DrZAP42  9 ปีที่แล้ว +2

      These videos teach and provide examples using 3 levels. The top level is used in videos 1-5 (in the Arduino Basics), and uses the reference commands of the Arduino. The second level involve programming the Arduino using the registers in C/C++ (also in the Arduino Basics). The third level is programming the Arduino using Assembly Language (in the Arduino Assembly), and are videos 12-16. The Hands On Arduino videos apply these three levels in working specific hardware examples.

    • @djtoddles8750
      @djtoddles8750 5 ปีที่แล้ว

      What did Johnny Carson (Tonight show host 1000 years before Jimmy Fallon) say when a joke bombed? "What did you all pay to get in here? Nothing, exactly, let's bear that in mind."

  • @RahulVerma-cd5cq
    @RahulVerma-cd5cq 5 ปีที่แล้ว

    sir we all know that much of the stuff is going inside. if you kindly elaborate all that stuff, that will be good.

  • @BikramAryal
    @BikramAryal 7 ปีที่แล้ว

    Shorts or attempting to draw more current can FRY Arduino. NOT A GOOD PLAN.

  • @malojinaik9200
    @malojinaik9200 6 ปีที่แล้ว +3

    very poor explanation , content is good though.. Some times explanation is done as if he does not know what he is explaning