-
Notifications
You must be signed in to change notification settings - Fork 2
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 Monitor: add ability to send bytes without clicking send #8
Labels
Comments
Any idea how should we control this behaviour from the UI? Some checkbox, a toggle-button? I can't think of any good UI solution right now. |
Well, I think it has to be mutually exclusive with the CR and LF buttons.
For example, here are the possible modes I can see:
Press send, with CR and LF
Press send, with CR
Press send, with LF
Press send
Don't press send
We already have the first four. The key is that you will never have the
case where you want to send each byte as you type (i.e. "don't press send")
but have the serial monitor add a CR or LF after each byte. So maybe there
could be another button, just like CR and LF, but that says "Use Send".
This button will be grayed out (not pressable) until both CR and LF are
unpressed. At that point, the "Use Send" button will become active.
This is just a quick guess at how to do it. Another way would be a checkbox
that says "Use Send", and the checkbox only becomes active when both CR and
LF are unpressed. Honestly, I think it would be easier to understand if CR
and LF were checkboxes as well.
…On Wed, Feb 22, 2017 at 2:37 PM, Grzegorz Hołdys ***@***.***> wrote:
Any idea how should we control this behaviour from the UI? Some checkbox,
a toggle-button? I can't think of any good UI solution right now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbeCGjP-Pdn6wD-uXAl-Y-nSfugRcS9ks5rfJxygaJpZM4MI4k9>
.
|
OK and should there be an "echo" for the single-byte mode? Should the characters that the user types in appear in the messages view below? Should they disappear immediately from the input field or should they stay there? |
Ahh, echo should be another another check box entirely! Good catch. The
echo check box should be available at all times to check or uncheck. If it
is checked, then everything you type in the 'send' text field will also be
printed to the output window. (either when you click Send, if "Use Send" is
checked, or as you type, if it is not. If the echo checkbox is unchecked,
then none of what you type gets put into the output text box.
…On Wed, Feb 22, 2017 at 3:01 PM, Grzegorz Hołdys ***@***.***> wrote:
OK and should there be an "echo" for the single-byte mode? Should the
characters that the user types in appear in the messages view below? Should
they disappear immediately from the input field or should they stay there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbeCEprDuS7CjSx8fPNMQbetLyTZy2tks5rfKINgaJpZM4MI4k9>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be a very nice feature (that even Arduino serial monitor doesn't have) to allow the user to type a single character and send that right off to the board, rather than wait for the user to also click Send.
There should be a way to choose which behavior mode you want to use.
The text was updated successfully, but these errors were encountered: