duino icon indicating copy to clipboard operation
duino copied to clipboard

More robust serial connection establishment & error handling

Open tjanson opened this issue 11 years ago • 0 comments

Instead of trying to establish the serial connection in the Board constructor, delegate this to a separate setup(). (API change!) This allows the user to add listeners to the Board’s error event, which signifies that the connection could not be established. (This was already intended, but wasn't possible, as far as I can tell.) Also displays a more intuitive error message.

tjanson avatar Oct 09 '14 22:10 tjanson