Convert digital pins of arduino to read analog value

Top