cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

Hi All;

   

I 'm using cirrus logic energy measurement ic. I success to communicate but I have to convert 24bit hexadecimal value to decimal value. I 'm using cy8c29466 ic. how can I convert it?

   

best regards,

0 Likes
Reply
2 Replies
Esteemed Contributor

This might help -

   

 

   

http://www.cypress.com/forum/known-problems-and-solutions/hex-decimal-code

   

 

   

Regards, Dana.

0 Likes
Reply
Esteemed Contributor

Was not paying attention you are working with PSOC 1, here is a basic algorithim

   

to do it, towards bottom of page -

   

 

   

http://www.cquestions.com/2011/07/decimal-to-hexadecimal-conversion-in-c.html

   

 

   

Regards, Dana.

0 Likes
Reply