Question: what is the difference between analog and digital inputs?
Answer: 1 Answer. You will use digital pin modes when dealing with signals that are either "on" or "off", such as an LED, a switch, or another digital IC. Analog inputs are used when you want to read the voltage potential of something. This is typically used to read analog sensors.