Open microbit-carlos opened 2 months ago
I think starting background loops in a loop actually should result in out of memory.
But it could already drop a error in MakeCode, like this alternative version of the same a similar programm does:
https://makecode.microbit.org/_UJkX9f9mqEP7
But these also does not show error messages:
Describe the bug When the play tone block is used with the "looping in the background" option selected, the micro:bit V1 and V2 run out of memory after a few seconds.
To Reproduce Steps to reproduce the behavior:
https://makecode.microbit.org/_3VXXVo5Pjfgb
Expected behavior To not run out of memory
Screenshots N/A
micro:bit version (please complete the following information):
Tested with micro:bit V1 and V2.
Desktop (please complete the following information): N/A
Smartphone (please complete the following information): N/A
Additional context
makecode.microbit.org version: 6.0.26 Microsoft MakeCode version: 9.0.17 microbit runtime version: v2.2.0-rc6 codal-microbit-v2 runtime version: v0.2.63