Analog Input

Analog input using two different potentiometer but same code.

Digital Input

Digital input using three different codes but same circuit structure.