hthang1988 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Non-blocking serial write. #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

Some method for doing non-blocking (buffered) serial write.

Original issue reported on code.google.com by dmel...@gmail.com on 24 May 2010 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 5 Jul 2010 at 6:24

GoogleCodeExporter commented 9 years ago
Is there some major complication with this, or is it just not a top priority 
right now? I was surprised to find the print/write methods block since the read 
method clearly doesn't and there's no mention of blocking in the documentation.

Original comment by daviebd...@gmail.com on 5 Nov 2010 at 3:16

GoogleCodeExporter commented 9 years ago
See: 
http://code.google.com/p/rogue-code/source/browse/#svn/Arduino/cores/arduino-ube
rcore/trunk/cores/arduino-ubercore for a possible implementation.

Original comment by dmel...@gmail.com on 25 Nov 2010 at 5:30

GoogleCodeExporter commented 9 years ago
I've pulled that implementation into github (dbarnett/Arduino, issue262 
branch). I had to also edit Stream.h to fix the return type of 
Stream::available (from int to uint8_t).

Original comment by daviebd...@gmail.com on 3 Dec 2010 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 7 Jan 2011 at 4:07

GoogleCodeExporter commented 9 years ago
Another possible implementation here: ftp://wookey.org.uk/arduino.  And in the 
Teensy code.  And see Siggi's library: http://siggiorn.com/?p=470.  Also in 
Wiring.

Original comment by dmel...@gmail.com on 3 Mar 2011 at 2:44

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/7f0cc2111cecb35cc2bd6d001e400748dbaf67
f5

Original comment by dmel...@gmail.com on 5 Mar 2011 at 7:25

GoogleCodeExporter commented 9 years ago
Can interrupt-driven TX also be added to the SAM core for Due?

Original comment by mse...@googlemail.com on 27 Aug 2014 at 2:14