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

Serial Blocks Would Benefit from "Flush" #1717

Open
JonMcPhalen opened this issue Feb 14, 2020 · 0 comments
Open

Serial Blocks Would Benefit from "Flush" #1717

JonMcPhalen opened this issue Feb 14, 2020 · 0 comments

Comments

@JonMcPhalen
Copy link

JonMcPhalen commented Feb 14, 2020

Those of us who code in Spin or C via SimpleIDE have access to flush methods when using a serial cog. Unfortunately, this doesn't exist in BlocklyProp.

I would like to propose a [Serial RX Flush] block that is translated to
fdserial_rxFlush (fdserial *term)

...and a [Serial TX Flush] block that is translated to
fdserial_txFlush (fdserial *term)

On a recent project for Ken (TFmini-S demo) I really needed RF Flush to I coded it as a custom block. This works, but the custom block has to be edited if the pin assignments for the serial connection get changed.

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

No branches or pull requests

2 participants