Analog and Digital Input

Microcontrollers can typically read only two voltage levels on their input pins, high voltage (the microcontroller's operating voltage) and ground These inputs are called digital inputs. In contrast, a contyinuously changing input voltage range is referred to as analog input.

Using analog in is detailed in the Analog in lab

For more analog input circuits, see the Schematics page.

Digital input:

The first PIC program lab from the intro class details it.