0% found this document useful (0 votes)
26 views

Digital Signals

Digital signals can only have two states: on or off, represented by either HIGH or LOW. The Blink sketch uses a digital signal to turn an LED connected to pin 13 on and off by setting the pin to either HIGH to turn on the LED, or LOW to turn it off. Digital signals are useful for controlling simple on/off outputs from a microcontroller.

Uploaded by

cesur27
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Digital Signals

Digital signals can only have two states: on or off, represented by either HIGH or LOW. The Blink sketch uses a digital signal to turn an LED connected to pin 13 on and off by setting the pin to either HIGH to turn on the LED, or LOW to turn it off. Digital signals are useful for controlling simple on/off outputs from a microcontroller.

Uploaded by

cesur27
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Digital Signals Weve talked about both input and output.

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

LOW means off

You might also like