Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 5, 3 & 1 Forum Discussions

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
2 Replies
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

This might help -

   

 

   

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

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

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