aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Servo/Servo.h
Commit message (Collapse)AuthorAgeFilesLines
* Servo.h: Eliminate unused SERVO_MAX_WRITE_ANGLE.Marti Bolivar2011-06-201-5/+0
| | | | | | The Servo::write() implementation previously relied upon this value to support an undocumented Arduino misfeature. The relevant behavior was removed in 0.0.10, so we shouldn't still include this define.
* Keep it 80-column clean.Marti Bolivar2011-06-071-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Go through overlong source code lines and convert as many of them as appropriate to be 80-column clean. This mostly affects license headers. Overlong lines are determined by running following from the libmaple base directory: $ ack-grep --nocolor --nogroup --cpp --cc --ignore-dir=usb -- '.{80}' Note that this excludes libmaple's usb subdirectory, which is still full of ST code that doesn't follow the libmaple source code guidelines. Contents of ~/.ackrc (these won't matter, but are included for completeness): --ignore-dir=docs --ignore-dir=build --type-set ld=.ld --type-set rst=.rst --type-set txt=.txt --type-set mk=.mk
* Docs: Updating Servo docs.Marti Bolivar2011-05-131-0/+1
|
* Redid Servo in terms of new timer.h.Marti Bolivar2011-04-011-64/+149
|
* Initial timer refactor.Marti Bolivar2011-03-241-0/+1
| | | | | | | | | | | | | | | 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.
* 0.0.9 release.Marti Bolivar2010-12-151-1/+1
| | | | | | Made some changes to Servo to get it to compile from within the IDE. Also fixed a lurking broken link in the docs.
* Servo library tested and debugged.Marti Bolivar2010-12-081-0/+116
Some additional HardwareTimer methods introduced to make this convenient; ancillary libmaple/timers.h changes resulted.