Arduino

Submitted by: Submitted by

Views: 61

Words: 36529

Pages: 147

Category: Other Topics

Date Submitted: 09/11/2014 09:09 AM

Report This Essay

Arduino

Buy | Download | Getting Started | Learning | Reference | Hardware | FAQ Learning Examples | Foundations | Hacking | Links

search

Blog » | Forum » | Playground »

Examples

See the foundations page for in-depth description of core concepts of the Arduino hardware and software; the hacking page for information on extending and modifying the Arduino hardware and software; and the links page for other documentation.

Examples

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder. (If you're looking for an older example, check the Arduino 0007 tutorials page.) Digital I/O Blink: turn an LED on and off. Blink Without Delay: blinking an LED without using the delay() function. Button: use a pushbutton to control an LED. Debounce: read a pushbutton, filtering noise. Loop: controlling multiple LEDs with a loop and an array. Analog I/O Analog Input: use a potentiometer to control the blinking of an LED. Fading: uses an analog output (PWM pin) to fade an LED. Knock: detect knocks with a piezo element. Smoothing: smooth multiple readings of an analog input. Communication These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. ASCII Table: demonstrates Arduino's advanced serial output functions. Dimmer: move the mouse to change the brightness of an LED. Graph: sending data to the computer and graphing it in Processing. Physical Pixel: turning on and off an LED by sending data from Processing. Virtual Color Mixer: sending multiple variables from Arduino to the computer and reading them in Processing. EEPROM Library

Other Examples

These are more complex examples for using particular electronic components or accomplishing specific tasks. The code is included on the page. Miscellaneous...