Then my temperature ic could do something like:
c=temperature % 10; temperature / = 10; b=temperature % 10; temperature / = 10; a=temperature % 10;
float temperature = getTemp();int t = (int)temperature;c= t % 10; t /= 10;b=t % 10; t /= 10;a=t; // assume temp = 0..999write_digits(a,b,c);
I have no idea what the line t /= 10; is yet but i'll figure it out. I think I have the rest of it in my head.Mike
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16