Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should fibers wait for access to serial? #398

Open
martinwork opened this issue Nov 28, 2023 · 0 comments
Open

Should fibers wait for access to serial? #398

martinwork opened this issue Nov 28, 2023 · 0 comments
Assignees

Comments

@martinwork
Copy link
Collaborator

Arising from support ticket https://support.microbit.org/helpdesk/tickets/69177 (private)

Related: lancaster-university/microbit-dal#202

Calls to serial.send may allow a switch to another fiber, but other fibers are locked out and drop intended output.

https://github.com/lancaster-university/codal-core/blob/63f017fdcd12aca769264c36fe47e6071a40e502/source/driver-models/Serial.cpp#L369

See https://makecode.microbit.org/_K5bLjsHMyHtg - serial output from the hardware is always zero,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants