Based the Library PwmIn by Simon Ford expanded with enable_irq and disable_irq for separate input signals. Program gives no real advantage above the original Library.
History
Tested with two channels connected to a function generator
2014-01-03, by GerritPathuis [Fri, 03 Jan 2014 18:47:33 +0000] rev 2
Tested with two channels connected to a function generator
Does not work properly
2014-01-02, by GerritPathuis [Thu, 02 Jan 2014 14:01:30 +0000] rev 1
Does not work properly
Stolen from PwmIn library
2014-01-01, by GerritPathuis [Wed, 01 Jan 2014 12:25:57 +0000] rev 0
Stolen from PwmIn library