Basic Arduino Quiz #1

 

  1. What is Arduino? In your words....



  2. In the following statement, what does the 1000 stand for: delay(1000);



  3. What is the maximum amount of current for any one of the Arduino pins? Hint: check Arduino.cc under Hardware...



  4. When does the void setup() part of the program occur?



  5. What is the difference between digitalWrite() and analogWrite() ???



  6. What does this function do: Serial.begin(9600);



  7. What is wrong with the following:

  8. /*Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain.*/

    int led = 13;
    void setup() {
    pinMode(led, INPUT);
    }
    void loop() {
    digitalWrite(led, HIGH);
    delay(1000);
    digitalWrite(led, LOW);
    delay(1000);
    }



  9. What is the for() statement used for?