-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
software: pybricks-codeIssues with https://code.pybricks.com applicationIssues with https://code.pybricks.com application
Description
At the moment, programs downloads and user input/output happen on the same Bluetooth characteristic.
So when no program is running and you type something (anything) in the terminal, the hub interprets it as a program, which usually gives:
ValueError: incompatible .mpy file
As a workaround, perhaps Pybricks Code could ignore user input when no program is running.
Example: stopped a program and then press UP or DOWN button, shows:
SystemExit: stop button pressed ValueError: incompatible .mpy file ValueError: incompatible .mpy file ValueError: incompatible .mpy file ValueError: incompatible .mpy file ValueError: incompatible .mpy fileNo idea why I would want to press UP or DOWN though 😃
And do not know what the cursor keys are supposed to do.
Most browsing keys act the same.
Originally posted by @BertLindeman in #297 (comment)
Metadata
Metadata
Assignees
Labels
software: pybricks-codeIssues with https://code.pybricks.com applicationIssues with https://code.pybricks.com application