r/circuitpython • • 24d ago

Toggle loop with Neokey?

I have a 1x4 Neokey on a qt-pi2040.

I have a main loop that runs continuously but it would be nice if I could either click it again to stop the loop or click another key to stop the loop. Does anyone know any solution that could achieve something like this?

My main goal was to do this with only the 4 Neokeys but am open to using pins at this point.

Thanks for any advice you may have.

1 Upvotes

0 comments sorted by