aboutsummaryrefslogtreecommitdiffstats
path: root/notes/usb.txt
Commit message (Collapse)AuthorAgeFilesLines
* working serialUSB with timeoutbnewbold2010-07-191-0/+2
| | | | | | | | | | | 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.
* notesbnewbold2010-07-191-0/+66