int value = analogRead(1);
You have to decide if you wanted is 43 (a numerical value), or "43", a string of chars.
number = number * 10 + value;
value = (value << 4) | (analogRead(1) & 0x0f);
Think about how this might help:Code: [Select] number = number * 10 + value;-br
Quote from: dhenry on Dec 10, 2012, 11:25 pmYou have to decide if you wanted is 43 (a numerical value), or "43", a string of chars.numeric value is the best for me !
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