« first day (1731 days earlier)      last day (1847 days later) » 

13:01
Hello, I have a question about Makecode for LEGO MINDSORMS.

I wrote this code

````

for (let i = 0; i < 2; i++) {
music.playSoundEffect(sounds.informationTouch)
}
motors.largeBC.tank(-100, -100, 10, MoveUnit.Seconds)
}
````

I dont understand the way how this code runs by repeating the sound only one time.

It should repeat the sound 2 times for (let i = 0; i < 2; i++)
could someone explain me why the for loop is runing just one time insead of times
Yes I know. I just asked here because this is my favorite room
I assume music.playSoundEffect doesn't block until the sound has finished playing, so you end up playing the sound two times but at the same time
13:38
4 messages moved from Python
 
3 hours later…
16:37
i cannot figure why this question was closed. :( seems pretty clear what OP wants.
@anky_91 please bring that up once the room meeting is over
2 messages moved from Python
 
1 hour later…
17:48
May I request to be pointed to good resource for deployment of flask via docker containers
@variable not now.
@variable please re-raise that question once the room meeting is over
@variable Perhaps, but not until after the room meeting concludes. We're almost done (I pray)
4 messages moved from Python
 
3 hours later…
20:37
I missed the meeting, apologies. I tried to catch up and then it just gets derailed by the person I thought it would be :/
@roganjosh no personal attacks, please
also we have a meta room now :P
@AndrasDeak I did say that outcome :)
@roganjosh That's seriously uncool, please don't ever make comments like that again.
let's start over
Kick my comment please
20:40
8 messages moved from Python
1 message moved to Python

« first day (1731 days earlier)      last day (1847 days later) »