momar128
Newbie level 3
help required
I am reading value from ADC of PIC16F870 and transform in to another value by using the equation (y-y1)=m(x-x1) where m=(y2-y1)/(x2-x1).
I also including the code where the value temp2 is the y of the equation.
This value is to be displayed on 4 digit 7 segment display. What I am doing I am not getting the result. Is there anyone can help me.
I am reading value from ADC of PIC16F870 and transform in to another value by using the equation (y-y1)=m(x-x1) where m=(y2-y1)/(x2-x1).
I also including the code where the value temp2 is the y of the equation.
This value is to be displayed on 4 digit 7 segment display. What I am doing I am not getting the result. Is there anyone can help me.