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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/20/02 12:13
Read: times


 
#32820 - RE: How to display value read from ADC
Expanded for a 32bit long

void calc_32(unsigned long value){

t0=value%10;
value/=10;
t1=value%10;
value/=10;
t2=value%10;
value /=10;
t3=value%10;
value /=10;
t4=value%10;
value /=10;
t5=value%10;
value /=10;
t6=value%10;
value /=10;
t7=value%10;
value /=10;
t8=value%10;
value /=10;
t9=value%10;

t0=t0 + 0x30;
t1=t1 + 0x30;
t2=t2 + 0x30;
t3=t3 + 0x30;
t4=t4 + 0x30;
t5=t5 + 0x30;
t6=t6 + 0x30;
t7=t7 + 0x30;
t8=t8 + 0x30;
t9=t9 + 0x30;

}



List of 8 messages in thread
TopicAuthorDate
How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      
RE: How to display value read from ADC            01/01/70 00:00      

Back to Subject List