aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/pwm.h
Commit message (Collapse)AuthorAgeFilesLines
* wirish: Clean up includes; other fixups.Marti Bolivar2011-10-181-0/+2
| | | | | | | | | | | | | | | | | | Clean up various core files' includes to fit this pattern: - Header files include what they use. - CPP files include their header first - Include order is libmaple proper headers, then wirish headers (modulo CPP rule above). wirish.h: Move HIGH and LOW to io.h, and the boolean and byte typedefs into wirish_types.h. These don't belong in wirish.h. Add include guards to wirish_debug.h. Oops. wirish_digital.cpp: Use standard bool instead of "boolean". Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* 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
* Doxygen bugfixes.Marti Bolivar2011-04-121-0/+3
| | | | Fixed various Doxygen comment errors.
* [WIP] GPIO refactor: seems ok, ready for reviewMarti Bolivar2011-03-111-11/+2
|
* arduino language reference nearing completion, properly CC-BY-SA 3.0 attributedMarti Bolivar2010-11-171-4/+7
|
* maple mini runs blinky now.Marti Bolivar2010-10-221-1/+10
| | | | still need usb descriptors to improve, and also nothing else is tested.
* wirish reformatted and code-styledMarti Bolivar2010-09-261-3/+3
|
* analogWrite is an alias for pwmWritebnewbold2010-05-271-0/+1
|
* Refactoring:Perry Hung2010-04-251-0/+46
The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.