Libraries also includes TimedEvents, Timing Utilities, and Countdown Timer.
== will not work, because the precise millisecond a frame occurs on is not reliable.
void draw(){
print(millis(), ' ');
}
Run it three times:
513 531 546 562 579 595 615 629 648 662 681 695 713 729 746 764 782 795
533 550 566 585 600 617 632 651 666 700 719 734 750 767 785 801 817 835
485 504 522 537 554 571 585 602 619 639 652 672 686 704 719 737 751 772
…it will print different values every time you run it. Use >.