Two simultaneous commands


#1

Newbie bloxter question: is it possible to run two commands simultaneously? As in a wav file and a trigger the piezo buzzer.

Thanks


#2

Sorry for the delay in answering!
If you mean two parallel sequences, like Scratch, then no, Bloxter doesn’t handle that.

However in this particular example, you have two blocks to play a wav file. One will start the file playing and let it play in the background while Bloxter moves on with the rest of the code. The other will pause execution until the wav is done.

play