control pins independently without delay()

@cip
Can you explain what you think this code is doing?

      eventtime1 + 500 == millis(); //wait 1/2 a second...

It is almost certainly NOT doing that.