I recently purchased a Adafruit Trinket M0 and am trying to use it with CircuitPython.
Following the example in learn.adafruit on "interacting-with-the-serial-console"
I used the MU editor to load and run the following program:
import board
import digitalio
import time
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
while True:
print("Hello, CircuitPython!")
led.value = True
time.sleep(1)
led.value = False
time.sleep(1)
The output expected at the Serial s consale is for the line "Hello, CircuitPython!" to be repeatedly displayed
However instead I see a few lines of "Hello, CircuitPython!" displayed followed by the lines:
soft reboot
Auto Reload is on Simply save file over USB to run then enter REPL to disable.
This pattern is then continuousely repeated.
Does anyone have any idea why I keep getting this "soft reboot" ? Any help greatfully appreciated.
Jerry H