Saturday, March 28, 2015

Input Output

Hello! Today I am going to be talking about input and output, also known as I/O.
Input and Output are the signals going in and out of the Arduino. When you use a  Digital pin, the state is either On or Off . This is also called discrete.  When using a Analog pin, it  can hold a range of values. Input is information going into the Arduino ,such as a button push or sensor readings, and Output is signals going out, such as turning on a light or making a noise. When using a Digital pin, in the program you need to set it to input or output. The function you would use to do so is pinMode( ).

No comments:

Post a Comment