At: Re: Have a question about Arduino? Ask me!
archisman wrote:
> Thanks for the code man....those two lines really helped...
Glad to hear it!
> now I am facing a new problem...when I am trying to display the larger of the two counts its displaying the correct value but it keeps on displaying it line after line...
The loop() function is special in Arduino. You aren't allowed to return from it because there's nowhere
to return to. You can probably figure out a workaround. Maybe put all your code as a normal loop in
the setup() function, or use an empty infinite loop in place of returning from loop().