Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/30/06 06:01
Read: times


 
#121337 - binary to bcd code
Responding to: ???'s previous message
hi shankar ref following

unsigned char binary_no;
unsigned char bcd[3];
bcd[0]=binary_no%10;
binary_no=binary_no/10;
bcd[1]=binary_no%10;
binary_no=binary_no/10;
bcd[2]=binary_no;

regards
satish





List of 5 messages in thread
TopicAuthorDate
binary to bcd and vice versa            01/01/70 00:00      
   No Commands in C but functions            01/01/70 00:00      
      BCD manipulation            01/01/70 00:00      
   please, Please, PLEASE search first!            01/01/70 00:00      
   binary to bcd code            01/01/70 00:00      

Back to Subject List