Hello Mike,
It is
EXCELLENT, but it is usefull for changing the 13 into 1 , 14 into 2.... it is not usefull for clock wise direction and anticlockwise direction
of needle according to the reading.
my condition is that if number is less than 12 then needle must move in
clockwise direction from 0 to perticuler reading.
but if nuber is greater than 12 then needle must move in
anticlockwise direction from 0 to corresponding reading....
Is it possible to give the needle control according to this condition?
in ur provided logic what happens::
if current reading is 2 then it moves clockwise from 0 to 2
now if i put 10 as current reading means previous is 2 then it moves clockwise from 2 to 10.....
now i put again 2 as current reading means previous is 10 then it moves anti-clockwise from 10 to 2.....
but i want above condition
is it possible?????
Regards,
Ashwini Lele