Difference between revisions of "Inputs and Outputs"

From robotics
(Created page with '== Inputs and Outputs (IO) == All programs work on an Input / Output basis, whether it is a PC based program taking in a joystick and outputting the commands to a game character…')
 
(Inputs)
Line 10: Line 10:
  
 
• [http://arduino.cc/en/Reference/AnalogRead Analog Input]
 
• [http://arduino.cc/en/Reference/AnalogRead Analog Input]
 +
 
• [http://arduino.cc/en/Reference/DigitalRead Digital Input]
 
• [http://arduino.cc/en/Reference/DigitalRead Digital Input]
 +
 
• [http://arduino.cc/en/Reference/Interrupts Interrupts]
 
• [http://arduino.cc/en/Reference/Interrupts Interrupts]

Revision as of 15:41, 7 July 2014

Inputs and Outputs (IO)

All programs work on an Input / Output basis, whether it is a PC based program taking in a joystick and outputting the commands to a game character or a microcontroller that flashes an LED when a button is pressed. Arduinos support a number of inputs and outputs.

Inputs

Inputs are essential and vary greatly.

There are several different ways to get an Input with an Arduino.

Analog Input

Digital Input

Interrupts