Skip to content

Very strange (to me) non-deterministic stdio behavior #15913

Discussion options

You must be logged in to vote

I can't replicate this. I ran the first script on a Pico, firstly using mpremote then rshell. In both cases it handled normal lines as expected, ignored multiple blank lines, and handled subsequent non-blank lines promptly. The second script also worked, with the blank print statement removed.

I would hazard a guess that the problem is with your means of accessing the Pico. Thonny, perhaps?

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alexwhittemore
Comment options

Answer selected by alexwhittemore
Comment options

You must be logged in to vote
1 reply
@peterhinch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants