I need some help with some code and I think it may be simple but I just cannot find answers anywhere. The question is that i'm running a timer so that when you press a button it runs a piece of led code, however I want it to keep looping until I change to two button presses for a different flashing state. Hopefully you understand and can help.
There are several styles regarding where to put the {. None of them allow for anything on the line after the }.
There is exactly one style for the }. It goes on a line ALL BY ITSELF.
There is a tool, under Tools + Auto Format that will straighten out that mess you posted. AFTER using that tool, AND verifying that the code will at least compile, post it again. Explain what it does that you don't want. Explain what it does not do that you do want.