USB Serial Interface (and power) Power A programmable microcontroller. But the best way to explain the Arduino is with some examples: http://www.instructables.com/id/20UnbelievableArduinoProjects/ https://www.youtube.com/watch?v=6mXMoGggrM http://www.youtube.com/watch?v=yuKcLG1tqks
from: • http://arduino.cc Linux users(specifically Debian): In a terminal: • sudo apt-get install arduino • sudo usermod -aG dialout <user> • Logout, and log back in for changes to take effect.
comments look like this */ // variable declarations look like this int variable_name; boolean isOn; // function declarations look like this void func_name(args...) { // function body } // statements looks like this do_something(); led_state = readDigital(9);
data const int LED = 9; // setup function that is called once at power on void setup() { pinMode(LED, OUTPUT); } // loop function gets called in a loop void loop() { // do exciting stuff! DigitalWrite(LED, HIGH); Delay(500); DigitalWrite(LED, LOW); Delay(500); }
data const int LED_PIN = 9; // setup function that is called once at power on void setup() { pinMode(LED_PIN, OUTPUT); } // loop function gets called in a loop void loop() { // do exciting stuff! DigitalWrite(LED_PIN, HIGH); Delay(500); DigitalWrite(LED_PIN, LOW); Delay(500); } Global Data Onetime Setup Loop