microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
727 stars 639 forks source link

Serial data viewer appears blank when first visited if data isn't streaming #3708

Closed darzu closed 1 year ago

darzu commented 4 years ago
  1. pair a v1 via webusb on chrome
  2. load this simple program: image
  3. with the device paired, click the B button
  4. Notice the "show device console" button appears
  5. Click that button
  6. See a blank page. If there's no interaction, the page stays blank.

Step 5 is the problem. It looks broken to the user. In the gif below I hit "B" again and this causes the page to show graphs.

2020-11-13 10 19 21

abchatra commented 4 years ago

You need a writeline to flush. Known thing in these original APIS

darzu commented 4 years ago

Yeah but we could show something like an empty graph or message saying "waiting for data..."

pelikhan commented 4 years ago

I have a lot of grief with the serial view and it would be nice to make a few other improvements:

abchatra commented 1 year ago

No plans to implement.