Installed Arduino software, plugged in the USB cable, uploaded the program, and the LED began to flash. (By the way, are my power plugs bent? The board was like this when I opened the package...)
/** Blink** The basic Arduino example. Turns on an LED on for one second,* then off for one second, and so on... We use pin 13 because,* depending on your Arduino board, it has either a built-in LED* or a built-in resistor so that you need only an LED.** http://www.arduino.cc/en/Tutorial/Blink*/int ledPin = 13; // LED connected to digital pin 13void setup() // run once, when the sketch starts{pinMode(ledPin, OUTPUT); // sets the digital pin as output}void loop() // run over and over again{digitalWrite(ledPin, HIGH); // sets the LED ondelay(1000); // waits for a seconddigitalWrite(ledPin, LOW); // sets the LED offdelay(1000); // waits for a second}
Comments
Isaac, Looks good!
Isaac,
Looks good! Terribly sorry about the connector. We'll take care of that ASAP. Please bring your board to class tomorrow. Also, your report is missing sections. Please refer to my example report for guidance.
dave