Hi MK,
Thanks for your suggestion. However, it doesn’t work. In this simple coding example, the purpose is to show “small heart” when infrared remote control button “NUM1” is pressed, so as to testify the while loop has been interrupted by infrared remote control.
However, as said, it seems only button “A” in microbit can interrupt the while loop not the infrared remote control.
Is there any solution for that?
Many thanks!