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
 

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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…