[Solved] What's the real purpose of "then do"?

There are quite a few blocks that have a “then do” option. Is there any real difference between putting blocks in the “then do” section and putting then immediately after the block?

So using a Call block as below - what is the difference?

Steve

Yes, there is a big difference. The “then do” section only happens after the function block (call Bluetooth_Low_Energy) completes. If you put the block(s) below the function instead, they happen a millisecond after the function block starts regardless of how long the function takes to complete.

1 Like

Thanks