Submitted by: Submitted by asdg
Views: 10
Words: 36888
Pages: 148
Category: Other Topics
Date Submitted: 03/11/2016 05:31 PM
Arduino
search
Buy | Download | Getting Started | Learning | Reference | Hardware | FAQ
Learning
Blog » | Forum » | Playground »
Examples | Foundations | Hacking | Links
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
Other 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.)
These are more complex examples for using particular
electronic components or accomplishing specific tasks. The
code is included on the page.
Miscellaneous
TwoSwitchesOnePin: Read two switches with one I/O
pin
Read a Tilt Sensor
Controlling an LED circle with a joystick
3 LED color mixer with 3 potentiometers
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....