Pause between instructions

How can I introduce a pause? I mean, I want a text to appear in a label, a pause of 5 seconds and then a text appears in another label
Thank you

Please don't double post.

use clock component, a simple suggestion man

how?

Before we answer, tell us if you want a pause what will you show in your app? A rolling text or scrolling text?

If nothing mean,,, add a clock component with 1000ms

i would also like to do this exact same thing but i don't see "clock component with 1000ms" - there are only TimerAlwaysFires, Timer Enabled & TimerEnabled and it won't accept a Math block of any value to connect.

i just want something like delay(1000) in Arduino

See the Why You Can't Wait in AI2 article

ok thanks - that's quite heavy but i think i get the gist.

i guess delay(1000) is also a poor method to use in Arduino for controlling the program flow.

1 Like