Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with transforming a value from ADC of PIC16F870

Status
Not open for further replies.

momar128

Newbie level 3
Joined
Sep 9, 2003
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pakistan
Activity points
20
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top