Game Preview

ELC805: Arduino beginner codding

  •  English    21     Public
    Starter
  •   Study   Slideshow
  • To make a delay of (1.5 Sec) use
    delay(15)
    delay(1500)
    delay(150)
    delay(1.5)
  •  15
  • What is the correct instruction that matches correctly with the comment ____________________ // Makes the output voltage ( 3 5V) ?
    digitalWrite(3 LOW)
    pinMode(3 OUTPUT)
    pinMode(3 INPUT)
    digitalWrite(3 HIGH)
  •  15
  • What is the correct instruction that matches correctly with the comment ____________________ // Makes the output voltage ( 5, 0V) ?
    pinMode(2 OUTPUT)
    digitalWrite(2 LOW)
    digitalWrite(2 HIGH)
    pinMode(2 INPUT)
  •  15
  • What is the correct instruction that can satisfy with the comments _______________(3 HIGH) //turn LED ON ?
    INPUT
    digitalWrite
    analogRead
    pinMode
  •  15
  • What is the correct word that matches correctly with the comment digitalWrite(13_____) //turn LED OFF ?
    INPUT
    OUTPUT
    LOW
    HIGH
  •  15
  • What is the correct word that matches correctly with the comment digitalWrite(13_____) //turn LED ON?
    HIGH
    INPUT
    OUTPUT
    LOW
  •  15
  • What is the correct instruction that matches correctly with the comment _________________ // sets pin 3 as output pin ?
    digitalWrite(3 HIGH)
    pinMode(3 INPUT)
    digitalWrite(3 LOW)
    pinMode(3 OUTPUT)
  •  15
  • What is the correct instruction that matches correctly with the comment _________________ // sets pin 3 as INPUTpin ?
    pinMode(3 OUTPUT)
    pinMode(3 INPUT)
    digitalWrite(3 LOW)
    digitalWrite(3 HIGH)
  •  15
  • What is the correct word that matches correctly with the comment pinMode(2________) //declare Switch as inputs ?
    LOW
    OUTPUT
    INPUT
    HIGH
  •  15
  • What is the correct word that matches correctly with the comment pinMode(13________) //declare LED as outputs ?
    HIGH
    OUTPUT
    LOW
    INPUT
  •  15
  • What is the correct word that matches correctly with the comments void _____(){ // put your main code here to run repeatedly }
    INPUT
    loop
    digitalWrite
    setup
  •  15
  • What is the correct word that matches correctly with the comment void ______(){ //put your setup code here to run once }
    INPUT
    setup
    digitalWrite
    loop
  •  15
  • A sketch representation that specifies a 0V signal to an Arduino pin is
    LOW
    Pin
    HIGH
    Sketch
  •  15
  • A sketch representation that specifies a 5V signal to an Arduino pin is
    Pin
    Sketch
    LOW
    HIGH
  •  15
  • The component labeled #1 is the
    PORT B
    PORT A
    PORT C
    PORT D
  •  15
  • The component labeled #2 is the
    PORT D
    PORT B
    PORT C
    PORT A
  •  15