Skip to content

nrf pca10056 - control C will not break out of loop #1021

Closed
@jerryneedell

Description

@jerryneedell

After loading current master to pca10056 board (via MSC! ) control-C does not break out of a while True: loop

>>> while True:
...     pass
...     
...     
... 

cannot break out with control- c

Same result with a while loop in a script:

import board
import digitalio
import time

led = digitalio.DigitalInOut(board.P0_13)
led.direction = digitalio.Direction.OUTPUT

while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

Blink works fine, but can't break out

Control-C does work OK at the REPL just to clear input.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions