aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/usb_serial.cpp
Commit message (Collapse)AuthorAgeFilesLines
* more sphinx docsMarti Bolivar2010-10-111-0/+2
|
* wirish reformatted and code-styledMarti Bolivar2010-09-261-17/+24
|
* last usbserial change... please?bnewbold2010-07-221-3/+12
|
* added isConnected() to serialusbbnewbold2010-07-221-0/+12
|
* went with 50ms SerialUSB timeoutbnewbold2010-07-201-1/+1
|
* working serialUSB with timeoutbnewbold2010-07-191-5/+38
| | | | | | | | | | | 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.
* added getDTR and getRTS to usb.h, subtly modded how sendBytes checks for ↵AJM2010-06-111-1/+2
| | | | | | connection flip flopped back and forth on how much work should be done here. For now its like 5 lines of changes
* USB Serial read() fix:Perry Hung2010-06-051-1/+2
| | | | stupid, stupid mistake.
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-041-0/+72
-updated examples -removed HardwareUSB -cleaned up a handful of includes