i am using the arduino nano board and read the a2 pin .
i am using the visigenie library .
whenever i check the voltage on pin through the hardware i was gotten the 0.180V minimum and 0.608V
Maximum.
and i am trying to do is on a minimum voltage i.e. 0.180 i have fixed it the resolution steps i.e.1023/50.180=36.82 steps
and on Maximum 1023/50.608=124.3steps
i am doing the if steps is less then the 50 steps on a genie display led is off and greater then 120 steps led will be on .
but they behaving inappropriately .
they cant read the steps.
the steps are continuously changes and i am getting the no difference on minimum voltage or maximum voltage .
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Did you write your code in stages, getting each stage working before starting the next?
What is "visigenie", post a link please.
Have you written some SIMPLE code that JUST READS A2 and sends the result to the Serial Monitor.
Lets first see if the problem is the input, forget about "visigenie" and everything else.