REPL not working

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kweidhaas
 
Posts: 3
Joined: Wed Oct 05, 2022 4:42 pm

REPL not working

Post by kweidhaas »

I am a new user. I have Trinket M0 working with Mu editor. Example code, code edits and saves are working fine. Serial window opens and print() instructions show up, but "control + c" does not stop code and start REPL. What am I missing?

User avatar
dastels
 
Posts: 15817
Joined: Tue Oct 20, 2015 3:22 pm

Re: REPL not working

Post by dastels »

You might need to follow CTRL-C by another key.

Dave

User avatar
danhalbert
 
Posts: 4686
Joined: Tue Aug 08, 2017 12:37 pm

Re: REPL not working

Post by danhalbert »

Could you post the sample code you are using?
What version of Mu, on what operating system?
Which version of CircuitPython?

User avatar
kweidhaas
 
Posts: 3
Joined: Wed Oct 05, 2022 4:42 pm

Re: REPL not working

Post by kweidhaas »

Thank you for the responses.
"dastles" Extra characters did not help
Reloading Mu and example code did not help.

Windows 10
Mu 1.1.1 (downloaded yesterday)
CircuitPython 7 (downloaded yesterday)
Trinket M0 (Atmel ATSAMD21, purchased last week)

I am just using example code:

import board
import digitalio
import time

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

while True:
led.value = True
time.sleep(1)
led.value = False
time.sleep(1)
print("Hello World!")

User avatar
danhalbert
 
Posts: 4686
Joined: Tue Aug 08, 2017 12:37 pm

Re: REPL not working

Post by danhalbert »

Is the LED actually blinking?

Do you have Acronis or some other third-party security, backup, utility, or disk-monitoring program installed? Does this other recent topic sound similar?
viewtopic.php?t=194963

User avatar
kweidhaas
 
Posts: 3
Joined: Wed Oct 05, 2022 4:42 pm

Re: REPL not working

Post by kweidhaas »

It is working now. I closed everything and then reopened it and it is working now.

Thanks for trying to help.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”