November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!

Lab 1 - "Put on the Led Light"

Project Members: 
Isaac Salier-He...

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.***/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}

dish_arduino.jpg344.83 KB


Isaac, Looks good!


 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.


Powered by Drupal - Design by Artinet