Hi, I am a new learner and I have a big issue with the comparison operation of numbers. For example, If the code is following like this,
if (x> 120) digitalWrite(LEDpin, HIGH);
What I don't understand is calculating out the value 120. How can I know whether 5V is equal to which number? 120 or 8 or some number?