How to waste time in Processing? (delay with Arduino)

yes, im try pause(), but i have an version 4.3 don’t sure that will be work