For one thing, are you sure the condition in this statement is correct?
I would think it should be ((millis()-t) >= 200).
((millis()-t) >= 200)