Use the hardware PwmOut to pulsate an LED (or something else), with selectable active high/low, customisable intensity function, gamma correction, and number of brightness levels.
Revisions of Pulsator.cpp
Revision | Date | Message | Actions |
---|---|---|---|
6:5eeb1acc1c50 | 2015-04-26 | Pulsator: named parameter idiom; various fixes | File Diff Annotate |
5:26cc18306d95 | 2015-04-24 | Pulsator& Pulsator::operator=(bool): idempotentcy; ; * Also, query current state via Pulsator::operator bool() | File Diff Annotate |
4:55b287904199 | 2015-04-24 | Pulsator::step(): floating-point subtleties. | File Diff Annotate |
3:a789d816b3a2 | 2015-04-24 | Pulsator::enable(): schoolboy off-by-one error. | File Diff Annotate |
2:e351afc2a3a8 | 2015-04-24 | Clarify documentation. | File Diff Annotate |
1:bcddb9898625 | 2015-04-24 | Doxygenate | File Diff Annotate |
0:dda7f6f55dc1 | 2015-04-24 | init | File Diff Annotate |