This method returns the number of PWM comparators in the timer instance (int).
timer1.getNumberOfComparators()
timer1: a variable of type TimerInstance_Class
Corrections, suggestions, and new documentation can be added directly to the wiki page. Scroll to the bottom, choose "Edit Page" and use "Papilio" as the password.