aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/usb_serial.h
Commit message (Collapse)AuthorAgeFilesLines
* added isConnected() to serialusbbnewbold2010-07-221-0/+1
|
* working serialUSB with timeoutbnewbold2010-07-191-0/+7
| | | | | | | | | | | 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.
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-041-0/+52
-updated examples -removed HardwareUSB -cleaned up a handful of includes