Pause and Resume incrementing

that's called an infinite loop - if you arrive there, you are stuck forever.

why would you do that?

How do you know the radio is locked on a good frequency ? is that this analogRead(A0)?

you might benefit from studying state machines. Here is a small introduction to the topic: Yet another Finite State Machine introduction

1 Like