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.
History
Debouncer: uint16_t _levels is enough for anyone; private Ticker.
2015-05-18, by huliyang [Mon, 18 May 2015 13:28:03 +0000] rev 10
Debouncer: uint16_t _levels is enough for anyone; private Ticker.
Reflow license text.
2015-04-28, by huliyang [Tue, 28 Apr 2015 15:42:25 +0000] rev 9
Reflow license text.
Pulsator::fun(): parametrise over intensity function.
2015-04-27, by huliyang [Mon, 27 Apr 2015 11:15:08 +0000] rev 8
Pulsator::fun(): parametrise over intensity function.
float constants
2015-04-26, by huliyang [Sun, 26 Apr 2015 01:43:31 +0000] rev 7
float constants
Pulsator: named parameter idiom; various fixes
2015-04-26, by huliyang [Sun, 26 Apr 2015 01:39:38 +0000] rev 6
Pulsator: named parameter idiom; various fixes
Pulsator& Pulsator::operator=(bool): idempotentcy; ; * Also, query current state via Pulsator::operator bool()
2015-04-24, by huliyang [Fri, 24 Apr 2015 21:26:05 +0000] rev 5
Pulsator& Pulsator::operator=(bool): idempotentcy; ; * Also, query current state via Pulsator::operator bool()
Pulsator::step(): floating-point subtleties.
2015-04-24, by huliyang [Fri, 24 Apr 2015 07:58:22 +0000] rev 4
Pulsator::step(): floating-point subtleties.
Pulsator::enable(): schoolboy off-by-one error.
2015-04-24, by huliyang [Fri, 24 Apr 2015 07:54:31 +0000] rev 3
Pulsator::enable(): schoolboy off-by-one error.
Clarify documentation.
2015-04-24, by huliyang [Fri, 24 Apr 2015 05:20:38 +0000] rev 2
Clarify documentation.
Doxygenate
2015-04-24, by huliyang [Fri, 24 Apr 2015 05:14:06 +0000] rev 1
Doxygenate