My first try would be to assemble the digits as characters in a string, and then convert the string to an integer. I guess there is no native string-to-int function in Arduino, but here's a discussion with some code to do that:
My first try would be to assemble the digits as characters in a string, and then convert the string to an integer. I guess there is no native string-to-int function in Arduino, but here's a discussion with some code to do that: