tom_pay
Member
Hi Everyone,
I have a decimal variable, and I want to select one of the digits, then the next and so fourth. How do I do this?
Say the value of the variable is 243, I would like to get a 2, a 4 and a 3.
I am using the C programming language on a PIC 16F684.
It has really got me stumped.
Thanks
Tom
I have a decimal variable, and I want to select one of the digits, then the next and so fourth. How do I do this?
Say the value of the variable is 243, I would like to get a 2, a 4 and a 3.
I am using the C programming language on a PIC 16F684.
It has really got me stumped.
Thanks
Tom