Interlocked buttons with clear troubleshooting

      if (buttonState2 == HIGH) {
        ledState3 = !ledState3;
      } while (1);

is fine with auto format. No changes necessary.

The only blanks (spaces) I could get it to care about were spaces after a semicolon at the end of a line… kinda hard to see. :expressionless:

TBH I never noticed the report of the auto format process until this day.

So auto format does some good but is less than perfect, shall we say. Since I tend to just write perfectly formatted code (!), my use of auto format is to fix code that has been improperly posted, or if properly posted code that is way off - usually just to find out where some dumb mistake like a missing brace (or pair) has caused errors, be they syntax or logic errors.

a7