Digital Signals
Digital Signals
But the electricity (or electrical signals) that the microcontroller uses as inputs and outputs has two different types: Digital and Analog. Its important to understand the difference between the two so you can really master input and output. Any input or output that can only be either on or off is called a Digital signal. A digital output signal can only turn the LED all the way on or all the way off. The Blink sketch you uploaded to your LilyPad Dev Board uses a digital signal to turn the LED on Pin 13 on and off. But in this case HIGH means on and LOW means off. These are the only two options if you are using a digitalWrite command to control an output: On and off, or HIGH and LOW. To send a digital signal from the Arduino to an output use:
Set the menu that reads PIN13 to the pin you want to control. Set the menu that reads HIGH to either HIGH or LOW. And remember:
HIGH means on