Skip to content

This programme cannot be stopped with Ctrl+C #192

Open
@microbit-carlos

Description

@microbit-carlos

Tested with v2.1.2 and the lates recording&playback branch.

I've managed to reduce the issue it to this exampe. When connected to serial Ctrl+C does not stop the programme.

from microbit import *

def radio_received_msgs():
    msg_length = 0
    while True:
        if msg_length:
            yield audio.AudioFrame()

audio.play(radio_received_msgs())

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions