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.

pic 18f4580 and adc using mplab

Status
Not open for further replies.

shalini v

Newbie level 3
Joined
Sep 14, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
36
i write a program for adc interfacing using pic 18f4580 and run my program on mplab hitech compiler and cccs environment. It is displaying values in hexadecimal. how can i display in decimal values
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,920
Helped
4,874
Reputation
9,766
Reaction score
4,661
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,943
That depends on what you are displaying and what kind of display it is.
If it uses standard 'C' functions to format the output (printf, sprintf etc...), look in the function that returns the value and change '%x' to '%d'.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top