ADC

@ArduinoStarter1, that seems a very complicated way to do something simple. Perhaps you are not really a starter?

...R