Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Brought examples/ up to date; PIN_MAP bugfix for D24. | Marti Bolivar | 2011-03-04 | 1 | -40/+34 |
| | |||||
* | working serialUSB with timeout | bnewbold | 2010-07-19 | 1 | -0/+135 |
as a temporary workaround for the fact that SerialUSB is often blocking, this crude implementation makes the low-level C usbSendBytes function non-blocking (with a return code of bytes sent) and implements a 2ms timeout in the wirish write() function. also adds begin(), end(), getDTR(), getRTS(), pending(). device is still initialized the old fashioned way during init() so that, eg, autoreset will work. includes a simple multi-test program. |