aboutsummaryrefslogtreecommitdiffstats
path: root/notes/usb.txt
Commit message (Collapse)AuthorAgeFilesLines
* replace unnecessary 'XXX' stringsbnewbold2015-03-011-3/+2
|
* Initial timer refactor.Marti Bolivar2011-03-241-0/+4
| | | | | | | | | | | | | | | Basic PWM works. Had some problems in testing that might be due to USART bugs. HardwareTimer has been removed from the build for now; I will re-implement it in terms of the new libmaple API, but consider it deprecated. Let's come up with something better. Servo is implemented in terms of HardwareTimer, so it also has been temporarily removed from the build. pwmWrite() likely got a little bit less inefficient due to indirection, but the PIN_MAPs shrank by a pointer per PinMapping.
* 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