PythonEditor icon indicating copy to clipboard operation
PythonEditor copied to clipboard

Can't get a keyboard up in serial REPL

Open rhubarbdog opened this issue 5 years ago • 3 comments

I'm trying a program with the ° symbol on android chrome. Serial is unresponsive i.e. my print statement isn't being echoed to serial window. I click the blue line click here or press CTRL c to enter REPL. When i click on the cursor to get a keyboard so i can try CTRL+D (reboot) i can't get either of my keyboards to launch.

Android version 8.1.0 Samsung experience version 9.5 Chrome version 75.0.3770.101

rhubarbdog avatar Jun 29 '19 01:06 rhubarbdog

Hi @rhubarbdog,

I tried this on my Samsun S8 running Android 9 and Chrome 75, and I can get the system and swiftkey keyboard to appear if I "click" on the cursor, sometimes it's a bit difficult to hit the right spot but you can eventually trigger the keyboard.

If you haven't been able to get the keyboard out, how did you test this part?

my print statement isn't being echoed to serial window

microbit-carlos avatar Jul 03 '19 10:07 microbit-carlos

The print statement is probably printed in the pre amble before serial starts. screen often misses stuff

rhubarbdog avatar Jul 04 '19 06:07 rhubarbdog

Right, I see, so the the print() was code flashed to the micro:bit. Sorry I thought you mean you were somehow typing in the REPL without the keyboard automatically.

When the WebUSB serial is connected, it doesn't reboot the micro:bit, so any messages sent before the connection was stablished wouldn't be received by the Editor. If you connect the serial, and then press the micro:bit reset button it should display any print statements sent by the MicroPython code.

microbit-carlos avatar Jul 08 '19 11:07 microbit-carlos