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

Send byte array from serial-monitor #1276

Closed
wants to merge 1 commit into from
Closed

Send byte array from serial-monitor #1276

wants to merge 1 commit into from

Conversation

labsin
Copy link

@labsin labsin commented Feb 11, 2013

Add the ability to send an array of bytes from the serial-monitor.
You write them using a comma separated list of hex, oct, dec or binary numbers.
It gives an error when the string is malformated.
In this case a new exception, ByteStringException, occures which is getting caught.

arduino 1
arduino 2
arduino 3
arduino 4
arduino 5
arduino 6

Add the ability to send an array of bytes from the serial-monitor.
You write them using a comma seperated list of hex, oct, dec or binary numbers.
It gives an error when the string is malformated.
In this case a new exception, ByteStringException, occures which is getting cought.
@labsin
Copy link
Author

labsin commented Feb 11, 2013

For the example, I used a simple program that just uses System.println on every byte it receives.

@achingbrain
Copy link

This would be really useful. Any plans to ever merge this?

@labsin
Copy link
Author

labsin commented Nov 25, 2013

This might not be the best way to do it after all. It might be better to have a "smart escape" option or something. Something like "This is a string.\n\O377\n\OxFF"
Maybe some arduino dev can have a comment?

@ffissore ffissore added the New label Feb 27, 2014
@cmaglie cmaglie added feature request A request to make an enhancement (not a bug fix) Component: IDE user interface The Arduino IDE's user interface labels Apr 8, 2015
@ffissore ffissore self-assigned this May 12, 2015
@ffissore
Copy link
Contributor

Sorry for the so-late reply. Indeed, everything we add to the user interface makes the IDE harder to understand, for novices and students especially. Escaping chars might be a better solution, although, if you have such a requirement, you shouldn't really use the built in serial monitor. You should instead use some specialized app like putty or cutecom.

@ffissore ffissore closed this May 19, 2015
@ffissore ffissore modified the milestone: Release 1.6.5 May 20, 2015
@per1234 per1234 added Component: IDE Serial monitor Tools > Serial Monitor Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature labels Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE Serial monitor Tools > Serial Monitor Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants