Hi!
i want to do something like this, but i want to store more numbers not just 0 to 9. for example: i want to introduce a number in processing like 1200 or 1255 and compare this number with a sensor reading.
with your code if i introduce 1255 it prints
1
2
5
5
how can i do that?