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.

pic16f72 with 8 bit ADC

Status
Not open for further replies.

spiba

Junior Member level 2
Joined
Feb 1, 2010
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
india
Activity points
1,477
i am using pic16f72 with 8 bit ADC ie max FF h = 255 decimal steps .
Now if i want to display ( 00.0 <n< 24.5) on 3 seven segment i have kept Vref of ADC at 2.55 so i get step of exact 0.1 volt.
if i devide 255 by ten i get max 255 steps = 25 rounded of i.e tens and ones digit . How do i get the decimal value
as i want to display battery volts say values like12.5 ,13.2 etc . to max 25.5 .
Note : i am programming in assembly Language
 


Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top