When you say it "worked", do you mean it worked like an 'if' statement? That is, the code in the curly braces executed only if the pin was HIGH and state was LOW?
How remarkable.
Anyway, it looks like we'll never be able to test that now.
When you say it "worked", do you mean it worked like an 'if' statement? That is, the code in the curly braces executed only if the pin was HIGH and state was LOW?
How remarkable.
Anyway, it looks like we'll never be able to test that now.