Quote:
Originally Posted by dcb
Those pins can be set up to trigger an interrupt on a rising signal or a falling signal, but not both at the same time (and still be able to tell the firmware if it was rising or falling).
|
Huh. Is that a limitation of the older 011 IDE, or just obsessive optimization? I wrote a pulse width analysis (frequency, duty cycle, on time) program a little less than a year ago that has 4 microsecond resolution, is accurate down to about 8 microseconds (verified with an oscilloscope), only uses 1 input and is fully compatible with the current IDE. Cumulative on time would add one more line to the off half of the interrupt routine.
http://dl.dropbox.com/u/9882625/inte...reAnalyzer.pde