RuggedCircuits -- are you looking for capture of incoming signals or are you looking to do something low-level with the PWM itself? As far as incoming signals, one of the community members already built an infrared decoder (RC6 I believe) using the InterruptPort and the DateTime passed into its event handler.
Chris
That sounds like a reasonable option but better would be a class that implements an "InputCapture" functionality so that input edges are timestamped. That's the approach we use with our demonstration IR decoder software for the Arduino. I'm fairly sure the AT91SAM7X512 processor can have its timers configured for this type of capture mode.
- Gui Ambros likes this